Window.moveRegion

Move the part of @window indicated by @region by @dy pixels in the Y direction and @dx pixels in the X direction. The portions of @region that not covered by the new position of @region are invalidated.

Child windows are not moved.

class Window
void
moveRegion
(,
int dx
,
int dy
)

Parameters

region Region

The #cairo_region_t to move

dx int

Amount to move in the X direction

dy int

Amount to move in the Y direction

Meta