Method
ShumateViewportlocation_to_widget_coords
Declaration [src]
void
shumate_viewport_location_to_widget_coords (
ShumateViewport* self,
GtkWidget* widget,
double latitude,
double longitude,
double* x,
double* y
)
Parameters
widget-
Type:
GtkWidgetA
GtkWidgetthat usesselfas viewport.The data is owned by the caller of the method. latitude-
Type:
doubleThe latitude.
longitude-
Type:
doubleThe longitude.
x-
Type:
double*Return value for the x coordinate.
The argument will be set by the function. y-
Type:
double*Return value for the y coordinate.
The argument will be set by the function.