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

XcmsColor()							   XcmsColor()

Name
  XcmsColor – Xcms color structure.

Availability
  Release 5 and later.

Description
  The  XcmsColor  structure  contains a union of substructures, each sup‐
  porting a color space specific encoding.

  The XcmsColorFormat type is used to identify the color space associated
  with	the  values  in	 the  XcmsColor structure.  It is also used as an
  argument to some Xcms functions  to  indicate	 the  desired  format  of
  returned color specifications.

Structures
  The XcmsColor structure contains:

     typedef unsigned long XcmsColorFormat;   /* Color Specification Format */

     #define XcmsUndefinedFormat     (XcmsColorFormat)0x00000000
     #define XcmsCIEXYZFormat	     (XcmsColorFormat)0x00000001
     #define XcmsCIEuvYFormat	     (XcmsColorFormat)0x00000002
     #define XcmsCIExyYFormat	     (XcmsColorFormat)0x00000003
     #define XcmsCIELabFormat	     (XcmsColorFormat)0x00000004
     #define XcmsCIELuvFormat	     (XcmsColorFormat)0x00000005
     #define XcmsTekHVCFormat	     (XcmsColorFormat)0x00000006
     #define XcmsRGBFormat	     (XcmsColorFormat)0x80000000
     #define XcmsRGBiFormat	     (XcmsColorFormat)0x80000001

     typedef struct {
	 union {
	     XcmsRGB RGB;
	     XcmsRGBi RGBi;
	     XcmsCIEXYZ CIEXYZ;
	     XcmsCIEuvY CIEuvY;
	     XcmsCIExyY CIExyY;
	     XcmsCIELab CIELab;
	     XcmsCIELuv CIELuv;
	     XcmsTekHVC TekHVC;
	     XcmsPad Pad;
	 } spec;
	 XcmsColorFormat format;
	 unsigned long pixel;
     } XcmsColor;			      /* Xcms Color Structure */

     typedef double XcmsFloat;

     typedef struct {
	 unsigned short red;	  /* 0x0000 to 0xffff */
	 unsigned short green;	  /* 0x0000 to 0xffff */
	 unsigned short blue;	  /* 0x0000 to 0xffff */
     } XcmsRGB;			  /* RGB Device */

     typedef struct {
	 XcmsFloat red;		  /* 0.0 to 1.0 */
	 XcmsFloat green;	  /* 0.0 to 1.0 */
	 XcmsFloat blue;	  /* 0.0 to 1.0 */
     } XcmsRGBi;		  /* RGB Intensity */

     typedef struct {
	 XcmsFloat X;
	 XcmsFloat Y;		  /* 0.0 to 1.0 */
	 XcmsFloat Z;
     } XcmsCIEXYZ;		  /* CIE XYZ */

     typedef struct {
	 XcmsFloat u_prime;	  /* 0.0 to ~0.6 */
	 XcmsFloat v_prime;	  /* 0.0 to ~0.6 */
	 XcmsFloat Y;		  /* 0.0 to 1.0 */
     } XcmsCIEuvY;		  /* CIE u'v'Y */

     typedef struct {
	 XcmsFloat x;		  /* 0.0 to ~.75 */
	 XcmsFloat y;		  /* 0.0 to ~.85 */
	 XcmsFloat Y;		  /* 0.0 to 1.0 */
     } XcmsCIExyY;		  /* CIE xyY */

     typedef struct {
	 XcmsFloat L_star;	  /* 0.0 to 100.0 */
	 XcmsFloat a_star;
	 XcmsFloat b_star;
     } XcmsCIELab;		  /* CIE L*a*b* */

     typedef struct {
	 XcmsFloat L_star;	  /* 0.0 to 100.0 */
	 XcmsFloat u_star;
	 XcmsFloat v_star;
     } XcmsCIELuv;		  /* CIE L*u*v* */

     typedef struct {
	 XcmsFloat H;		  /* 0.0 to 360.0 */
	 XcmsFloat V;		  /* 0.0 to 100.0 */
	 XcmsFloat C;		  /* 0.0 to 100.0 */
     } XcmsTekHVC;		  /* TekHVC */

     typedef struct {
	 XcmsFloat pad0;
	 XcmsFloat pad1;
	 XcmsFloat pad2;
	 XcmsFloat pad3;
     } XcmsPad;	       /* padded to 4 floats for future or   */
		       /* user-defined color space encodings */
		       /* that require more space than what  */
		       /* 3 floats can provide		     */

See Also
  XcmsAllocColor(),   XcmsAllocNamedColor(),   XcmsConvertColors(),  Xcm‐
  sLookupColor(), XcmsQueryColor(), XcmsQueryColors(),	XcmsStoreColor(),
  XcmsStoreColors(),   XcmsStoreNamedColor,  XcmsClientWhitePointOfCCC(),
  XcmsSetWhitePoint(),	 XcmsScreenWhitePointOfCCC(),	 XcmsCIELabQuery‐
  MaxC(),   XcmsCIELabQueryMaxL(),   XcmsCIELabQueryMaxLC(),  XcmsCIELab‐
  QueryMinL(), XcmsCIELuvQueryMaxC(), XcmsCIELuvQueryMaxL(),  XcmsCIELuv‐
  QueryMaxLC(), XcmsCIELuvQueryMinL(), XcmsTekHVCQueryMaxC(), XcmsTekHVC‐
  QueryMaxL, XcmsTekHVCQueryMaxLC, XcmsTekHVCQueryMinL, XcmsQueryBlack(),
  XcmsQueryBlue(),  XcmsQueryGreen(),  XcmsQueryRed(),	XcmsQueryWhite(),
  XcmsCompressionProc, XcmsWhiteAdjustProc, XcmsConversionProc, XcmsPars‐
  eStringProc.

Xlib - Device-independent Color					   XcmsColor()
[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