![]() |
![]() |
![]() |
OsmGpsMap Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#include <osm-gps-map.h> struct OsmGpsMapImage; struct OsmGpsMapImageClass; void osm_gps_map_image_draw (OsmGpsMapImage *object
,cairo_t *cr
,GdkRectangle *rect
); const OsmGpsMapPoint * osm_gps_map_image_get_point (OsmGpsMapImage *object
); GType osm_gps_map_image_get_type (void
); OsmGpsMapImage * osm_gps_map_image_new (void
);
"pixbuf" GdkPixbuf* : Read / Write / Construct "point" OsmGpsMapPoint* : Read / Write / Construct "x-align" gfloat : Read / Write / Construct "y-align" gfloat : Read / Write / Construct "z-order" gint : Read / Write / Construct
OsmGpsMapImage represents an image (a GdkPixbuf) shown on the map
(osm_gps_map_image_add()
) at a specific location (a OsmGpsMapPoint).
void osm_gps_map_image_draw (OsmGpsMapImage *object
,cairo_t *cr
,GdkRectangle *rect
);
const OsmGpsMapPoint * osm_gps_map_image_get_point (OsmGpsMapImage *object
);
"x-align"
property"x-align" gfloat : Read / Write / Construct
image x-alignment.
Allowed values: [0,1]
Default value: 0.5
"y-align"
property"y-align" gfloat : Read / Write / Construct
image y-alignment.
Allowed values: [0,1]
Default value: 0.5
"z-order"
property"z-order" gint : Read / Write / Construct
image z-order.
Allowed values: [-100,100]
Default value: 0