X Drawable Functions

Functions that operate on drawables. More...

Functions

EAPI void ecore_x_drawable_geometry_get_prefetch (Ecore_X_Drawable drawable)
 Sends the GetGeometry request.
EAPI void ecore_x_drawable_geometry_get_fetch (void)
 Gets the reply of the GetGeometry request sent by ecore_x_atom_get_prefetch().
EAPI void ecore_x_drawable_geometry_get (Ecore_X_Drawable drawable __UNUSED__, int *x, int *y, int *width, int *height)
 Retrieves the geometry of the given drawable.
EAPI int ecore_x_drawable_border_width_get (Ecore_X_Drawable drawable __UNUSED__)
 Retrieves the width of the border of the given drawable.
EAPI int ecore_x_drawable_depth_get (Ecore_X_Drawable drawable __UNUSED__)
 Retrieves the depth of the given drawable.
EAPI 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.
EAPI int ecore_x_drawable_border_width_get (Ecore_X_Drawable d)
 Retrieves the width of the border of the given drawable.
EAPI int ecore_x_drawable_depth_get (Ecore_X_Drawable d)
 Retrieves the depth of the given drawable.

Detailed Description

Functions that operate on drawables.


Function Documentation

EAPI int ecore_x_drawable_border_width_get ( Ecore_X_Drawable drawable  __UNUSED__)

Retrieves the width of the border of the given drawable.

Parameters:
drawableUnused.
Returns:
The border width of the given drawable.

To use this function, you must call before, and in order, ecore_x_drawable_geometry_get_prefetch(), which sends the GetGeometry request, then ecore_x_drawable_geometry_get_fetch(), which gets the reply.

EAPI 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.

Referenced by ecore_x_window_border_width_get().

EAPI int ecore_x_drawable_depth_get ( Ecore_X_Drawable drawable  __UNUSED__)

Retrieves the depth of the given drawable.

Parameters:
drawableUnused.
Returns:
The depth of the given drawable.

To use this function, you must call before, and in order, ecore_x_drawable_geometry_get_prefetch(), which sends the GetGeometry request, then ecore_x_drawable_geometry_get_fetch(), which gets the reply.

EAPI 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.

Referenced by ecore_x_pixmap_depth_get(), and ecore_x_window_depth_get().

EAPI void ecore_x_drawable_geometry_get ( Ecore_X_Drawable drawable  __UNUSED__,
int *  x,
int *  y,
int *  width,
int *  height 
)

Retrieves the geometry of the given drawable.

Parameters:
drawableUnused.
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.
widthPointer to an integer into which the width is to be stored.
heightPointer to an integer into which the height is to be stored.

To use this function, you must call before, and in order, ecore_x_drawable_geometry_get_prefetch(), which sends the GetGeometry request, then ecore_x_drawable_geometry_get_fetch(), which gets the reply.

EAPI 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.

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

EAPI void ecore_x_drawable_geometry_get_prefetch ( Ecore_X_Drawable  drawable)

Sends the GetGeometry request.

Parameters:
drawableDrawable whose characteristics are sought.