Method
ShumateViewportwidget_coords_to_location
Declaration [src]
void
shumate_viewport_widget_coords_to_location (
ShumateViewport* self,
GtkWidget* widget,
double x,
double y,
double* latitude,
double* longitude
)
Parameters
widget
-
Type:
GtkWidget
A
GtkWidget
that usesself
as viewport.The data is owned by the caller of the method. x
-
Type:
double
The x coordinate.
y
-
Type:
double
The y coordinate.
latitude
-
Type:
double*
Return location for the latitude.
The argument will be set by the function. longitude
-
Type:
double*
Return location for the longitude.
The argument will be set by the function.