## GnomeCanvasPixbuf

GnomeCanvasPixbuf — Pixbuf image canvas item

## Synopsis

    #include <libgnomecanvas/libgnomecanvas.h>

    struct      GnomeCanvasPixbuf;

## Object Hierarchy

      GObject
       +----GtkObject
             +----GnomeCanvasItem
                   +----GnomeCanvasPixbuf

## Properties

      "anchor"               GtkAnchorType         : Read / Write
      "height"               gdouble               : Read / Write
      "height-in-pixels"     gboolean              : Read / Write
      "height-set"           gboolean              : Read / Write
      "pixbuf"               GdkPixbuf             : Read / Write
      "width"                gdouble               : Read / Write
      "width-in-pixels"      gboolean              : Read / Write
      "width-set"            gboolean              : Read / Write
      "x"                    gdouble               : Read / Write
      "x-in-pixels"          gboolean              : Read / Write
      "y"                    gdouble               : Read / Write
      "y-in-pixels"          gboolean              : Read / Write

## Description

A canvas item for drawing pixbuf images.

## Details

### struct GnomeCanvasPixbuf

    struct GnomeCanvasPixbuf;

This structure should not be accessed directly. Use the object's properties for querying or changing its parameters.

## Properties

### The "`anchor`" property

      "anchor"               GtkAnchorType         : Read / Write

Anchor (handle) position within the pixbuf, defaults to GTK_ANCHOR_NW (top left hand corner). The anchor is the point of reference for positioning the image.

Default value: GTK_ANCHOR_NORTH_WEST

### The "`height`" property

      "height"               gdouble               : Read / Write

Pixbuf height.

Default value: 0

### The "`height-in-pixels`" property

      "height-in-pixels"     gboolean              : Read / Write

`TRUE` if "height" parameter is in pixel units, `FALSE` for canvas world units.

Default value: FALSE

### The "`height-set`" property

      "height-set"           gboolean              : Read / Write

`TRUE` if the "height" argument is set and should be used as the pixbuf height, `FALSE` to use the actual height of the image.

Default value: FALSE

### The "`pixbuf`" property

      "pixbuf"               GdkPixbuf             : Read / Write

The pixbuf image to draw.

### The "`width`" property

      "width"                gdouble               : Read / Write

Pixbuf width.

Default value: 0

### The "`width-in-pixels`" property

      "width-in-pixels"      gboolean              : Read / Write

`TRUE` if "width" parameter is in pixel units, `FALSE` for canvas world units.

Default value: FALSE

### The "`width-set`" property

      "width-set"            gboolean              : Read / Write

`TRUE` if the "width" parameter is set and should be used as the pixbuf width, `FALSE` to use the actual width of the image.

Default value: FALSE

### The "`x`" property

      "x"                    gdouble               : Read / Write

The x coordinate of the position to place the pixbuf at.

Default value: 0

### The "`x-in-pixels`" property

      "x-in-pixels"          gboolean              : Read / Write

`TRUE` to interpret the "x" parameter in pixel units, `FALSE` for canvas world units.

Default value: FALSE

### The "`y`" property

      "y"                    gdouble               : Read / Write

The y coordinate of the position to place the pixbuf at.

Default value: 0

### The "`y-in-pixels`" property

      "y-in-pixels"          gboolean              : Read / Write

`TRUE` to interpret the "y" parameter in pixel units, `FALSE` for canvas world units.

Default value: FALSE