Surface.markDirtyRectangle

Like cairo_surface_mark_dirty(), but drawing has been done only to the specified rectangle, so that cairo can retain cached contents for other parts of the surface. Any cached clip set on the surface will be reset by this function, to make sure that future cairo calls have the clip set that they expect. Since 1.0

class Surface
void
markDirtyRectangle
(
int x
,
int y
,
int width
,
int height
)

Parameters

x int

X coordinate of dirty rectangle

y int

Y coordinate of dirty rectangle

width int

width of dirty rectangle

height int

height of dirty rectangle

Meta