Top |
void | osm_gps_map_image_draw () |
const OsmGpsMapPoint * | osm_gps_map_image_get_point () |
GType | osm_gps_map_image_get_type () |
OsmGpsMapImage * | osm_gps_map_image_new () |
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
);
Draw image to given cairo context
Since: 0.7.0
const OsmGpsMapPoint *
osm_gps_map_image_get_point (OsmGpsMapImage *object
);
Get image location point
Since: 0.7.0
OsmGpsMapImage *
osm_gps_map_image_new (void
);
Create new image
Since: 0.7.0
“pixbuf”
property “pixbuf” GdkPixbuf *
the pixbuf for this image.
Owner: OsmGpsMapImage
Flags: Read / Write / Construct
“point”
property“point” OsmGpsMapPoint *
location point.
Owner: OsmGpsMapImage
Flags: Read / Write / Construct
“rotation”
property “rotation” gfloat
image rotation.
Owner: OsmGpsMapImage
Flags: Read / Write / Construct
Allowed values: [-180,180]
Default value: 0
“x-align”
property “x-align” gfloat
image x-alignment.
Owner: OsmGpsMapImage
Flags: Read / Write / Construct
Allowed values: [0,1]
Default value: 0.5
“y-align”
property “y-align” gfloat
image y-alignment.
Owner: OsmGpsMapImage
Flags: Read / Write / Construct
Allowed values: [0,1]
Default value: 0.5