hpux man page for xsetstate

Query: xsetstate

OS: hpux

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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 logical function, and the plane_mask in a GC.  See XSetForeground(), XSet-
  Background(), XSetFunction(), and XSetPlaneMask() for what these members 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(), XGContextFromGC(), XSetArcMode(), XSetBackground(), XSetClipMask(),  XSetCli-
  pOrigin(),  XSetClipRectangles(), XSetDashes(), XSetFillRule(), XSetFillStyle(), XSetForeground(), XSetFunction(), XSetGraphicsExposures(),
  XSetLineAttributes(), XSetPlaneMask(), XSetStipple(), XSetSubwindowMode(), XSetTSOrigin().

Xlib - Graphics Context 													       XSetState()
Related Man Pages
xsetbackground(3x11) - redhat
xsetfunction(3x11) - redhat
xsetstate(3x11) - redhat
xsetfunction(3) - debian
xsetplanemask(3) - centos
Similar Topics in the Unix Linux Community
How to list file size on HPUX?
Thank you members and admins
awk - Multi-line data to be stored in variable
Tar Command