XSetState man page on HP-UX
[printable version]
XSetState() XSetState()
Name
XSetState – set the foreground, background, logical function, and plane
mask in a graphics context.
Synopsis
XSetState(display, gc, foreground, background, function, plane_mask)
Display *display;
GC gc;
unsigned long foreground, background;
int function;
unsigned long plane_mask;
Arguments
display Specifies a connection to an X server; returned from
XOpenDisplay().
gc Specifies the graphics context.
foreground Specifies the foreground for the specified graphics context.
background Specifies the background for the specified graphics context.
function Specifies the logical function for the specified graphics
context.
plane_mask Specifies the plane mask for the specified graphics context.
Description
XSetState() sets the foreground and background pixel values, the logi‐
cal function, and the plane_mask in a GC. See XSetForeground(), XSet‐
Background(), XSetFunction(), and XSetPlaneMask() for what these mem‐
bers do and appropriate values.
See Volume One, Chapter 5, The Graphics Context, for more information.
Errors
BadAlloc
BadGC
BadValue
See Also
XDefaultGC(), XChangeGC(), XCopyGC(), XCreateGC(), XFreeGC(), XGCon‐
textFromGC(), XSetArcMode(), XSetBackground(), XSetClipMask(), XSetCli‐
pOrigin(), XSetClipRectangles(), XSetDashes(), XSetFillRule(), XSet‐
FillStyle(), XSetForeground(), XSetFunction(), XSetGraphicsExposures(),
XSetLineAttributes(), XSetPlaneMask(), XSetStipple(), XSetSubwindow‐
Mode(), XSetTSOrigin().
Xlib - Graphics Context XSetState()
[top]
List of man pages available for HP-UX
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|