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, 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) |
Retrieves the width of the border of the given drawable. | |
EAPI int | ecore_x_drawable_depth_get (Ecore_X_Drawable drawable) |
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 | d | ) |
Retrieves the width of the border of the given drawable.
- Parameters:
-
drawable Unused.
- 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.
- Parameters:
-
d The 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 | d | ) |
Retrieves the depth of the given drawable.
- Parameters:
-
drawable Unused.
- 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.
- Parameters:
-
d The 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 | d, | |
int * | x, | |||
int * | y, | |||
int * | w, | |||
int * | h | |||
) |
Retrieves the geometry of the given drawable.
- Parameters:
-
drawable Unused. x Pointer to an integer into which the X position is to be stored. y Pointer to an integer into which the Y position is to be stored. width Pointer to an integer into which the width is to be stored. height Pointer 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.
- Parameters:
-
d The given drawable. x Pointer to an integer into which the X position is to be stored. y Pointer to an integer into which the Y position is to be stored. w Pointer to an integer into which the width is to be stored. h Pointer 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:
-
drawable Drawable whose characteristics are sought.