Functions
X Drawable Functions

Functions that operate on drawables. More...

Functions

void ecore_x_drawable_geometry_get (Ecore_X_Drawable d, int *x, int *y, int *w, int *h)
 Retrieves the geometry of the given drawable. More...
 
int ecore_x_drawable_border_width_get (Ecore_X_Drawable d)
 Retrieves the width of the border of the given drawable. More...
 
int ecore_x_drawable_depth_get (Ecore_X_Drawable d)
 Retrieves the depth of the given drawable. More...
 

Detailed Description

Functions that operate on drawables.

Function Documentation

◆ ecore_x_drawable_geometry_get()

void ecore_x_drawable_geometry_get ( Ecore_X_Drawable  d,
int *  x,
int *  y,
int *  w,
int *  h 
)

Retrieves the geometry of the given drawable.

Parameters
dThe given drawable.
xPointer to an integer into which the X position is to be stored.
yPointer to an integer into which the Y position is to be stored.
wPointer to an integer into which the width is to be stored.
hPointer to an integer into which the height is to be stored.

References ecore_x_sync(), and EINA_SAFETY_ON_NULL_RETURN.

Referenced by ecore_x_pixmap_geometry_get(), ecore_x_window_geometry_get(), and ecore_x_window_size_get().

◆ ecore_x_drawable_border_width_get()

int ecore_x_drawable_border_width_get ( Ecore_X_Drawable  d)

Retrieves the width of the border of the given drawable.

Parameters
dThe given drawable.
Returns
The border width of the given drawable.

References ecore_x_sync(), and EINA_SAFETY_ON_NULL_RETURN_VAL.

Referenced by ecore_x_window_border_width_get().

◆ ecore_x_drawable_depth_get()

int ecore_x_drawable_depth_get ( Ecore_X_Drawable  d)

Retrieves the depth of the given drawable.

Parameters
dThe given drawable.
Returns
The depth of the given drawable.

References ecore_x_sync(), and EINA_SAFETY_ON_NULL_RETURN_VAL.

Referenced by ecore_x_pixmap_depth_get(), and ecore_x_window_depth_get().