NAME
XSetClipOrigin — set the clip origin in a graphics context.
SYNOPSIS
XSetClipOrigin(display, gc, clip_x_origin, clip_y_origin) Display ∗display; GC gc; int clip_x_origin, clip_y_origin;
ARGUMENTS
displaySpecifies a connection to an X server; returned from XOpenDisplay().
gcSpecifies the graphics context.
clip_x_origin
clip_y_origin
Specify the coordinates of the clip origin (interpreted later relative to the window drawn into with this GC).
DESCRIPTION
XSetClipOrigin() sets the clip_x_origin and clip_y_origin components of a GC. The clip origin controls the position of the clip_mask in the GC, which filters which pixels are drawn in the destination of a drawing request using this GC.
For more information, see Volume One, Chapter 5, The Graphics Context.
ERRORS
BadAlloc
BadGC
SEE ALSO
XDefaultGC(), XChangeGC(), XCopyGC(), XCreateGC(), XFreeGC(), XGContextFromGC(), XSetArcMode(), XSetBackground(), XSetClipMask(), XSetClipRectangles(), XSetDashes(), XSetFillRule(), XSetFillStyle(), XSetForeground(), XSetFunction(), XSetGraphicsExposures(), XSetLineAttributes(), XSetPlaneMask(), XSetState(), XSetStipple(), XSetSubwindowMode(), XSetTSOrigin().
Xlib Reference Manual