CCMPixmap

## 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
       +----CCMObject
             +----CCMDrawable
                   +----CCMPixmap

## Properties

      "foreign"                  gboolean              : Read / Write
      "freeze"                   gboolean              : Read / Write

## Description

## Details

### CCM_PIXMAP_XPIXMAP()

    #define CCM_PIXMAP_XPIXMAP(obj)     (ccm_drawable_get_xid(CCM_DRAWABLE(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