12.07.2015 Views

Xlib − C Language X Interface

Xlib − C Language X Interface

Xlib − C Language X Interface

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Xlib</strong> − C LibraryX11, Release 6.7 DRAFTTo set the display function in a given GC, use XSetFunction.XSetFunction (display, gc, function)Display *display;GC gc;int function;displaygcfunctionSpecifies the connection to the X server.Specifies the GC.Specifies the function you want to set for the specified GC.XSetFunction can generate BadAlloc, BadGC, and BadValue errors.To set the plane mask of a given GC, use XSetPlaneMask.XSetPlaneMask (display, gc, plane_mask)Display *display;GC gc;unsigned long plane_mask;displaygcplane_maskSpecifies the connection to the X server.Specifies the GC.Specifies the plane mask.XSetPlaneMask can generate BadAlloc and BadGC errors.7.2.2. Setting the Line Attributes and DashesTo set the line drawing components of a given GC, use XSetLineAttributes.138

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!