Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XSetStipple(3x) — HP-UX 9.05

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XSetStipple − set the stipple in a graphics context. 

Synopsis

XSetStipple(display, gc, stipple)
Display *display;
GC gc;
Pixmap stipple;

Arguments

displaySpecifies a connection to an X server; returned from XOpenDisplay(). 

gcSpecifies the graphics context. 

stippleSpecifies the stipple for the specified graphics context. 

Description

XSetStipple() sets the stipple component of a GC.  The stipple is a pixmap of depth one.  It is laid out like a tile.  Set bits in the stipple determine which pixels in an area are drawn in the foreground pixel value.  Unset bits in the stipple determine which pixels are drawn in the background pixel value if the fill_style is Fill­Opaque­Stippled.  If fill_style is FillStippled, pixels overlayed with unset bits in the stipple are not drawn.  If fill_style is FillTiled or Fill­Solid, the stipple is not used.  For more information, see Volume One, Chapter 5, The Graphics Context. 

Errors

BadAlloc
BadGC
BadMatch
BadPixmap

See Also

DefaultGC(), XChangeGC(), XCopyGC(), XCreateGC(), XFreeGC(), XGContextFromGC(), XSetArcMode(), XSetBackground(), XSetClipMask(), XSetClipOrigin(), XSetClipRectangles(), XSetDashes(), XSetFillRule(), XSetFillStyle(), XSetForeground(), XSetFunction(), XSetGraphicsExposures(), XSetLineAttributes(), XSetPlaneMask(), XSetState(), XSetSubwindowMode(), XSetTSOrigin(). 

Copyright O’Reilly & Assoc.  —  

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026