## CCMPixmap CCMPixmap |

## Synopsis

    #define             CCM_PIXMAP_XPIXMAP                  (obj)
                        CCMPixmap;
    CCMPixmap*          ccm_pixmap_new                      (CCMDrawable *drawable,
                                                             Pixmap xpixmap);
    CCMPixmap*          ccm_pixmap_image_new                (CCMDrawable *drawable,
                                                             Pixmap xpixmap);
    CCMPixmap*          ccm_pixmap_new_from_visual          (CCMScreen *screen,
                                                             Visual *visual,
                                                             Pixmap xpixmap);

## Object Hierarchy

      GObject
       +----CCMDrawable
             +----CCMPixmap

## Properties

      "foreign"                  gboolean              : Read / Write
      "freeze"                   gboolean              : Read / Write
      "y-invert"                 gboolean              : Read / Write

## Description

## Details

### CCM_PIXMAP_XPIXMAP()

    #define CCM_PIXMAP_XPIXMAP(obj)     (ccm_drawable_get_xid(CCM_DRAWABLE(obj)))

`obj` : |

### CCMPixmap

    typedef struct _CCMPixmap CCMPixmap;

### ccm_pixmap_new ()

    CCMPixmap*          ccm_pixmap_new                      (CCMDrawable *drawable,
                                                             Pixmap xpixmap);

Create a new pixmap

`drawable` : | CCMDrawable
`xpixmap` : | pixmap
Returns : | CCMPixmap

### ccm_pixmap_image_new ()

    CCMPixmap*          ccm_pixmap_image_new                (CCMDrawable *drawable,
                                                             Pixmap xpixmap);

Create a new pixmap which software rendering backend

`drawable` : | CCMDrawable
`xpixmap` : | pixmap
Returns : | CCMPixmap

### ccm_pixmap_new_from_visual ()

    CCMPixmap*          ccm_pixmap_new_from_visual          (CCMScreen *screen,
                                                             Visual *visual,
                                                             Pixmap xpixmap);

Create a new pixmap for a screen visual

`screen` : | CCMScreen
`visual` : | XVisual
`xpixmap` : | pixmap
Returns : | CCMPixmap

## Property Details

### The `"foreign"` property

      "foreign"                  gboolean              : Read / Write

This property indicate the object doesn't owned XPixmap if true.

Default value: FALSE

### The `"freeze"` property

      "freeze"                   gboolean              : Read / Write

This property locks paint and damage if is true.

Default value: FALSE

### The `"y-invert"` property

      "y-invert"                 gboolean              : Read / Write

Get if pixmap is y inverted.

Default value: FALSE