Functions
X Pixmap Functions

Functions that operate on pixmaps. More...

Functions

Ecore_X_Pixmap ecore_x_pixmap_new (Ecore_X_Window win, int w, int h, int dep)
 Creates a new pixmap. More...
 
void ecore_x_pixmap_free (Ecore_X_Pixmap pmap)
 Deletes the reference to the given pixmap. More...
 
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...
 
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...
 
int ecore_x_pixmap_depth_get (Ecore_X_Pixmap pmap)
 Retrieves the depth of the given pixmap. More...
 

Detailed Description

Functions that operate on pixmaps.

Function Documentation

◆ ecore_x_pixmap_new()

Ecore_X_Pixmap ecore_x_pixmap_new ( Ecore_X_Window  win,
int  w,
int  h,
int  dep 
)

Creates a new pixmap.

Parameters
winWindow used to determine which screen of the display the pixmap should be created on. If 0, the default root window is used.
wWidth of the new pixmap.
hHeight of the new pixmap.
depDepth of the pixmap. If 0, the default depth of the default screen is used.
Returns
New pixmap.

References ecore_x_sync().

◆ ecore_x_pixmap_free()

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.

Parameters
pmapThe given pixmap.

References ecore_x_sync().

◆ ecore_x_pixmap_paste()

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.

Parameters
pmapThe given pixmap.
destThe given drawable.
gcThe graphics context which governs which operation will be used to paste the area onto the drawable.
sxThe X position of the area on the pixmap.
syThe Y position of the area on the pixmap.
wThe width of the area.
hThe height of the area.
dxThe X position at which to paste the area on dest.
dyThe Y position at which to paste the area on dest.

References ecore_x_sync().

◆ ecore_x_pixmap_geometry_get()

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.

Parameters
pmapThe given pixmap.
xPointer to an integer in which to store the X position.
yPointer to an integer in which to store the Y position.
wPointer to an integer in which to store the width.
hPointer to an integer in which to store the height.

References ecore_x_drawable_geometry_get(), and ecore_x_sync().

◆ ecore_x_pixmap_depth_get()

int ecore_x_pixmap_depth_get ( Ecore_X_Pixmap  pmap)

Retrieves the depth of the given pixmap.

Parameters
pmapThe given pixmap.
Returns
The depth of the pixmap.

References ecore_x_drawable_depth_get(), and ecore_x_sync().