XClipBox

Syntax

XClipBox(r, rect_return)
      Region r;
      XRectangle *rect_return;

Arguments

r Specifies the region.
rect_return Returns the smallest enclosing rectangle.

Description

The XClipBox() function returns the smallest rectangle enclosing the specified region.

See also

XCreateGC(), XDrawPoint(), XDrawRectangle(), XPolygonRegion(), "Computing with Regions".
Christophe Tronche, ch@tronche.com