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

XMatchVisualInfo()					    XMatchVisualInfo()

Name
  XMatchVisualInfo  –  obtain  the  visual  information	 that matches the
  desired depth and class.

Synopsis
  Status XMatchVisualInfo(display, screen, depth, class, vinfo_return)
	Display *display;
	int screen;
	int depth;
	int class;
	XVisualInfo *vinfo_return;

Arguments
  display Specifies a connection to an X server; returned from	XOpenDis‐
	  play().

  screen  Specifies the screen.

  depth	  Specifies the desired depth of the visual.

  class	  Specifies  the desired class of the visual, such as PseudoColor
	  or TrueColor.

  vinfo_return
	  Returns the matched visual information.

Returns
  Zero on failure, non-zero on success.

Description
  XMatchVisualInfo() returns the visual information  for  a  visual  sup‐
  ported  on  the  screen  that	 matches  the  specified depth and class.
  Because multiple visuals that match the specified depth and  class  may
  be supported, the exact visual chosen is undefined.

  If  a	 visual	 is found, this function returns a non-zero value and the
  information on the visual is returned to vinfo_return.  If a visual  is
  not found, it returns zero.

  For more information on visuals, see Volume One, Chapter 7, Color.

Structures
     typedef struct {
	 Visual *visual;
	 VisualID visualid;
	 int screen;
	 unsigned int depth;
	 int class;
	 unsigned long red_mask;
	 unsigned long green_mask;
	 unsigned long blue_mask;
	 int colormap_size;
	 int bits_per_rgb;
     } XVisualInfo;

See Also
  XDefaultVisual(), XGetVisualInfo().

Xlib - Visuals						    XMatchVisualInfo()
[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