OsmGpsMapImage

## OsmGpsMapImage OsmGpsMapImage — An image shown on the map |

## Stability Level

Stable, unless otherwise indicated

## Synopsis

    #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);

## Object Hierarchy

      GObject
       +----OsmGpsMapImage

## Properties

      "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

## Description

OsmGpsMapImage represents an image (a GdkPixbuf) shown on the map (`osm_gps_map_image_add()`) at a specific location (a OsmGpsMapPoint).

## Details

### struct OsmGpsMapImage

    struct OsmGpsMapImage;

### struct OsmGpsMapImageClass

    struct OsmGpsMapImageClass {
        GObjectClass parent_class;
    };

### osm_gps_map_image_draw ()

    void                osm_gps_map_image_draw              (OsmGpsMapImage *object,
                                                             cairo_t *cr,
                                                             GdkRectangle *rect);

### osm_gps_map_image_get_point ()

    const OsmGpsMapPoint * osm_gps_map_image_get_point      (OsmGpsMapImage *object);

### osm_gps_map_image_get_type ()

    GType               osm_gps_map_image_get_type          (void);

### osm_gps_map_image_new ()

    OsmGpsMapImage *    osm_gps_map_image_new               (void);

## Property Details

### The `"pixbuf"` property

      "pixbuf"                   GdkPixbuf*            : Read / Write / Construct

the pixbuf for this image.

### The `"point"` property

      "point"                    OsmGpsMapPoint*       : Read / Write / Construct

location point.

### The `"x-align"` property

      "x-align"                  gfloat                : Read / Write / Construct

image x-alignment.

Allowed values: [0,1]

Default value: 0.5

### The `"y-align"` property

      "y-align"                  gfloat                : Read / Write / Construct

image y-alignment.

Allowed values: [0,1]

Default value: 0.5

### The `"z-order"` property

      "z-order"                  gint                  : Read / Write / Construct

image z-order.

Allowed values: [-100,100]

Default value: 0