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:
GtkWidgetA
GtkWidgetthat usesselfas viewport.The data is owned by the caller of the method. x-
Type:
doubleThe x coordinate.
y-
Type:
doubleThe 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.