XOffsetRegion

Syntax

XOffsetRegion(r, dx, dy)
      Region r;
      int dx, dy;

Arguments

r Specifies the region.
dx
dy
Specify the x and y coordinates, which define the amount you want to move the specified region.

Description

Move a region by a specified amount.

See also

XCreateRegion(), XDrawRectangle(), XEmptyRegion(), XIntersectRegion(), XShrinkRegion(), XSubtractRegion(), XUnionRectWithRegion(), XUnionRegion(), XXorRegion(), "Moving or Shrinking Regions".
Christophe Tronche, ch@tronche.com