Functions | |
| EAPI Ecore_X_Pixmap | ecore_x_pixmap_new (Ecore_X_Window win, int w, int h, int dep) |
| Creates a new pixmap. More... | |
| EAPI void | ecore_x_pixmap_free (Ecore_X_Pixmap pmap) |
| Deletes the reference to the given pixmap. More... | |
| EAPI void | ecore_x_pixmap_paste (Ecore_X_Pixmap pmap, Ecore_X_Drawable dest, Ecore_X_GC gc, int sx, int sy, int w, int h, int dx, int dy) |
| Pastes a rectangular area of the given pixmap onto the given drawable. More... | |
| EAPI void | ecore_x_pixmap_geometry_get (Ecore_X_Pixmap pmap, int *x, int *y, int *w, int *h) |
| Retrieves the size of the given pixmap. More... | |
| EAPI int | ecore_x_pixmap_depth_get (Ecore_X_Pixmap pmap) |
| Retrieves the depth of the given pixmap. More... | |
Functions that operate on pixmaps.
| EAPI Ecore_X_Pixmap ecore_x_pixmap_new | ( | Ecore_X_Window | win, |
| int | w, | ||
| int | h, | ||
| int | dep | ||
| ) |
Creates a new pixmap.
| win | Window used to determine which screen of the display the pixmap should be created on. If 0, the default root window is used. |
| w | Width of the new pixmap. |
| h | Height of the new pixmap. |
| dep | Depth of the pixmap. If 0, the default depth of the default screen is used. |
References ecore_x_sync().
| EAPI void ecore_x_pixmap_free | ( | Ecore_X_Pixmap | pmap | ) |
Deletes the reference to the given pixmap.
If no other clients have a reference to the given pixmap, the server will destroy it.
| pmap | The given pixmap. |
References ecore_x_sync().
| EAPI void ecore_x_pixmap_paste | ( | Ecore_X_Pixmap | pmap, |
| Ecore_X_Drawable | dest, | ||
| Ecore_X_GC | gc, | ||
| int | sx, | ||
| int | sy, | ||
| int | w, | ||
| int | h, | ||
| int | dx, | ||
| int | dy | ||
| ) |
Pastes a rectangular area of the given pixmap onto the given drawable.
| pmap | The given pixmap. |
| dest | The given drawable. |
| gc | The graphics context which governs which operation will be used to paste the area onto the drawable. |
| sx | The X position of the area on the pixmap. |
| sy | The Y position of the area on the pixmap. |
| w | The width of the area. |
| h | The height of the area. |
| dx | The X position at which to paste the area on dest. |
| dy | The Y position at which to paste the area on dest. |
References ecore_x_sync().
| EAPI void ecore_x_pixmap_geometry_get | ( | Ecore_X_Pixmap | pmap, |
| int * | x, | ||
| int * | y, | ||
| int * | w, | ||
| int * | h | ||
| ) |
Retrieves the size of the given pixmap.
| pmap | The given pixmap. |
| x | Pointer to an integer in which to store the X position. |
| y | Pointer to an integer in which to store the Y position. |
| w | Pointer to an integer in which to store the width. |
| h | Pointer to an integer in which to store the height. |
References ecore_x_drawable_geometry_get(), and ecore_x_sync().
| EAPI int ecore_x_pixmap_depth_get | ( | Ecore_X_Pixmap | pmap | ) |
Retrieves the depth of the given pixmap.
| pmap | The given pixmap. |
References ecore_x_drawable_depth_get(), and ecore_x_sync().