Method Cairo.Surface()->mark_dirty_rectangle()


Method mark_dirty_rectangle

void mark_dirty_rectangle(int x, int y, int width, int height)

Description

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

Parameter x

X coordinate of dirty rectangle

Parameter y

Y coordinate of dirty rectangle

Parameter width

width of dirty rectangle

Parameter height

height of dirty rectangle