Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XcmsSetWhitePoint(3)		XLIB FUNCTIONS		  XcmsSetWhitePoint(3)

NAME
       XcmsSetWhitePoint, XcmsSetWhiteAdjustProc - modifying CCC attributes

SYNTAX
       Status XcmsSetWhitePoint(XcmsCCC	ccc, XcmsColor *color);

       XcmsWhiteAdjustProc XcmsSetWhiteAdjustProc(XcmsCCC ccc, XcmsWhiteAd-
	      justProc white_adjust_proc, XPointer client_data);

ARGUMENTS
       ccc	 Specifies the CCC.

       client_data
		 Specifies client data for the white point adjustment proce-
		 dure or NULL.

       color	 Specifies the new Client White	Point.

       white_adjust_proc
		 Specifies the white point adjustment procedure.

DESCRIPTION
       The XcmsSetWhitePoint function changes the Client White Point in	the
       specified CCC.  Note that the pixel member is ignored and that the
       color specification is left unchanged upon return.  The format for the
       new white point must be XcmsCIEXYZFormat, XcmsCIEuvYFormat, XcmsCIExyY-
       Format, or XcmsUndefinedFormat.	If the color argument is NULL, this
       function	sets the format	component of the Client	White Point specifica-
       tion to XcmsUndefinedFormat, indicating that the	Client White Point is
       assumed to be the same as the Screen White Point.

       This function returns nonzero status if the format for the new white
       point is	valid; otherwise, it returns zero.

       The XcmsSetWhiteAdjustProc function first sets the white	point adjust-
       ment procedure and client data in the specified CCC with	the newly
       specified procedure and client data and then returns the	old procedure.

SEE ALSO
       DisplayOfCCC(3),	XcmsCCCOfColormap(3), XcmsConvertColors(3), XcmsCre-
       ateCCC(3), XcmsDefaultCCC(3)
       Xlib - C	Language X Interface

X Version 11			 libX11	1.6.5		  XcmsSetWhitePoint(3)

NAME | SYNTAX | ARGUMENTS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=XcmsSetWhitePoint&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help