Method
PhocOutputdamage_from_surface
Declaration [src]
void
phoc_output_damage_from_surface (
PhocOutput* self,
wlr_surface* wlr_surface,
double ox,
double oy,
gboolean whole
)
Description [src]
Adds a surface’s damage to the damaged area of self
. If whole
is TRUE
the whole surface area is explicitly damaged. Otherwise
only already present damage is collected.
Parameters
wlr_surface
-
Type:
wlr_surface*
The wlr_surface providing the damage.
The argument can be NULL
.The data is owned by the caller of the method. ox
-
Type:
double
X coordinate of the surface in output local coordinates.
oy
-
Type:
double
Y coordinate of the surface in output local coordinates.
whole
-
Type:
gboolean
Whether to damage the hole surface.