XBlackPixel 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]

XBlackPixel*()							XBlackPixel*()

Name
  XBlackPixel,	XBlackPixelOfScreen, BlackPixel, BlackPixelOfScreen – get
  the black pixel value.

Synopsis
  unsigned long XBlackPixelOfScreen(screen)
	   Screen *screen;
  unsigned long XBlackPixel(display, screen_number)
	   Display *display;
	   int screen_number;

Arguments
  screen    Specifies the appropriate Screen structure.

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

  screen_number
	    Specifies the appropriate screen number.

Returns
  A pixel value.

Description
  Each screen has a default colormap which has pixel values for black and
  white already allocated.  These functions return the black pixel value.
  Note	that this pixel value only represents black in a screen's default
  colormap.

  XBlackPixel() and XBlackPixelOfScreen() are equivalent except that they
  require different arguments.	One requires a pointer to a Screen struc‐
  ture, while the other requires a screen  number.   Unless  you  already
  have the pointer to a Screen structure in a variable, XBlackPixel*() is
  more convenient.

  The C language macros BlackPixel() and BlackPixelOfScreen() are equiva‐
  lent and slightly more efficient.

See Also
  XWhitePixel*(), XWhitePixelOfScreen(), XDefaultColormap*().

Xlib - Macro Equivalents					XBlackPixel*()
[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