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
xsetplanemask(3x11) - redhat
xsetbackground(3x11) - redhat
xsetstate(3x11) - redhat
xsetstate(3) - centos
xsetforeground(3) - centos
Similar Topics in the Unix Linux Community
Unix File Permissions
How to list file size on HPUX?
SAN Migration question
Hpux 11iV3 administration document
Thank you members and admins