XSetForeground man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XSetForeground()					      XSetForeground()

Name
  XSetForeground – set the foreground pixel value in a graphics context.

Synopsis
  XSetForeground(display, gc, foreground)
	Display *display;
	GC gc;
	unsigned long foreground;

Arguments
  display   Specifies	a  connection  to  an  X  server;  returned  from
	    XOpenDisplay().

  gc	    Specifies the graphics context.

  foreground
	    Specifies the foreground pixel value you want for the  speci‐
	    fied graphics context.

Description
  XSetForeground()  sets  the  foreground  component in a GC.  This pixel
  value is used for set bits in the source according to	 the  fill_style.
  This	pixel  value  must  be returned by BlackPixel, WhitePixel(), or a
  routine that allocates colors.

  See Volume One, Chapter 5, The Graphics Context, for	more  information
  on the GC.

Errors
  BadAlloc
  BadGC

See Also
  XDefaultGC(),	 XChangeGC(),  XCopyGC(),  XCreateGC(), XFreeGC(), XGCon‐
  textFromGC(), XSetArcMode(), XSetBackground(), XSetClipMask(), XSetCli‐
  pOrigin(),  XSetClipRectangles(),  XSetDashes(),  XSetFillRule(), XSet‐
  FillStyle(),	 XSetFunction(),   XSetGraphicsExposures(),   XSetLineAt‐
  tributes(), XSetPlaneMask(), XSetState(), XSetStipple(), XSetSubwindow‐
  Mode(), XSetTSOrigin().

Xlib - Graphics Context					      XSetForeground()
[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]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net