XSetClipOrigin(display, gc, clip_x_origin, clip_y_origin)
Display *display;
GC gc;
int clip_x_origin, clip_y_origin;
display | Specifies the connection to the X server. |
gc | Specifies the GC. |
clip_x_origin clip_y_origin | Specify the x and y coordinates of the clip-mask origin. |
XSetClipOrigin() can generate BadAlloc and BadGC errors.
BadAlloc | The server failed to allocate the requested source or server memory. |
BadGC | A value for a GContext argument does not name a defined GContext. |