Scroll to navigation

XcmsColor(3X11) XLIB FUNCTIONS XcmsColor(3X11)

̾??

XcmsColor, XcmsRGB, XcmsRGBi, XcmsCIEXYZ, XcmsCIEuvY, XcmsCIExyY, XcmsCIELab, XcmsCIELuv, XcmsTekHVC, XcmsPad - Xcms ?ο???¤??

??¤??

The structure for XcmsColor contains:

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


typedef double XcmsFloat;
typedef struct {
	unsigned short red;	
	unsigned short green;	
	unsigned short blue;	
} XcmsRGB;		


typedef struct {
	XcmsFloat red;	
	XcmsFloat green;	
	XcmsFloat blue;	
} XcmsRGBi;		


typedef struct {
	XcmsFloat X;
	XcmsFloat Y;	
	XcmsFloat Z;
} XcmsCIEXYZ;		


typedef struct {
	XcmsFloat u_prime;	
	XcmsFloat v_prime;	
	XcmsFloat Y; 	
} XcmsCIEuvY;		


typedef struct {
	XcmsFloat x; 	
	XcmsFloat y; 	
	XcmsFloat Y; 	
} XcmsCIExyY;		


typedef struct {
	XcmsFloat L_star; 	
	XcmsFloat a_star;
	XcmsFloat b_star;
} XcmsCIELab;		


typedef struct {
	XcmsFloat L_star; 	
	XcmsFloat u_star;
	XcmsFloat v_star;
} XcmsCIELuv;		


typedef struct {
	XcmsFloat H; 	
	XcmsFloat V; 	
	XcmsFloat C; 	
} XcmsTekHVC;		


typedef struct {
	XcmsFloat pad0;
	XcmsFloat pad1;
	XcmsFloat pad2;
	XcmsFloat pad3;
} XcmsPad;		


????

XcmsColor ??¤?Τϥ??ֹ?¤?Τζ????ΤǤ??ꡢ???줾???Υ??ֹ?¤?Τ??????ο????֤? ?Ф???ɽ???Υ??󥳡??ǥ??󥰤򥵥ݡ??Ȥ??Ƥ??롣

??Ϣ????

XcmsAllocColor(3X11), XcmsStoreColor(3X11), XcmsConvertColors(3X11),
Xlib - C Language X Interface

Release 6.5 X Version 11