Ecore_X_Damage_Group (3) - Linux Manuals

Ecore_X_Damage_Group: Functions related to the X Damage extension.

NAME

X Damage Extension Functions - Functions related to the X Damage extension.

Functions


EAPI int ecore_x_damage_query (void)
Return whether the Damage Extension is available.
EAPI Ecore_X_Damage ecore_x_damage_new (Ecore_X_Drawable drawable, Ecore_X_Damage_Report_Level level)
Creates a damage object.
EAPI void ecore_x_damage_del (Ecore_X_Damage damage)
Destroys a damage object.
EAPI void ecore_x_damage_subtract (Ecore_X_Damage damage, Ecore_X_Region repair, Ecore_X_Region parts)
Synchronously modifies the region.

Detailed Description

Functions related to the X Damage extension.

Function Documentation

EAPI void ecore_x_damage_del (Ecore_X_Damage damage)

Destroys a damage object.

Parameters:

damage The damage object to destroy.

Destroys the damage object damage.

EAPI Ecore_X_Damage ecore_x_damage_new (Ecore_X_Drawable drawable, Ecore_X_Damage_Report_Level level)

Creates a damage object.

Parameters:

drawable The drawable to monotor.
level The level of the damage report.

Returns:

The damage object.

Creates a damage object to monitor changes to drawable, with the level level.

EAPI int ecore_x_damage_query (void)

Return whether the Damage Extension is available.

Returns:

1 if the Damage Extension is available, 0 if not.

Return 1 if the X server supports the Damage Extension version 1.0, 0 otherwise.

EAPI void ecore_x_damage_subtract (Ecore_X_Damage damage, Ecore_X_Region repair, Ecore_X_Region parts)

Synchronously modifies the region.

Parameters:

damage The damage object to destroy.
repair The repair region.
parts The parts region.

Synchronously modifies the regions in the following manner: If repair is XCB_NONE: 1) parts = damage 2) damage = <empty> Otherwise: 1) parts = damage INTERSECT repair 2) damage = damage - parts 3) Generate DamageNotify for remaining damage areas

Author

Generated automatically by Doxygen for Ecore from the source code.