hpux man page for xcmswhiteadjustproc

Query: xcmswhiteadjustproc

OS: hpux

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XcmsWhiteAdjustProc()													     XcmsWhiteAdjustProc()

Name
  XcmsWhiteAdjustProc - interface definition for the white point adjustment procedure.

Synopsis
  typedef Status (*XcmsWhiteAdjustProc)(ccc, initial_white_point,
  target_white_point, target_format, colors_in_out, ncolors,
  compression_flags_return)
	    XcmsCCC ccc;
	    XcmsColor *initial_white_point;
	    XcmsColor *target_white_point;
	    XcmsColorFormat target_format;
	    XcmsColor colors_in_out[];
	    unsigned int ncolors;
	    Bool compression_flags_return[];

Arguments
  ccc	    Specifies the color conversion context.

  initial_white_point
	    Specifies the initial white point.

  target_white_point
	    Specifies the target white point.

  target_format
	    Specifies the target color specification format.

  colors_in_out
	    Specifies an array of color specifications.  Pixel members are ignored and remain unchanged upon return.

  ncolors   Specifies the number of XcmsColor structures in the color specification array.

  compression_flags_return
	    Specifies an array of Boolean values (or NULL) for returned information that indicates if the color was compressed.  For example,
	    if		this	      routine	       returns		XcmsSuccessWithCompression	     and	   compression_flags_
	    return[3]  is True, this indicates that the fourth color specified in the color specification array was compressed.  If the call-
	    ing routine is not interested in knowing which color was compressed when the return value is  XcmsSuccessWithCompression,  it  is
	    allowed to pass a NULL for this argument.

Returns
  Zero on failure, non-zero on success.

Availability
  Release 5 and later.

Description
  XcmsWhiteAdjustProc  is  a  function that takes the color specifications, whose associated white point is initial_white_point, and modifies
  them for the target_white_point; returning the color specifications in the format specified by target_format.

See Also
  XcmsSetWhiteAdjustProc().

Xlib - Device-independent Color 											     XcmsWhiteAdjustProc()
Related Man Pages
xcmsqueryblack(3x11) - redhat
xcmsqueryred(3x11) - redhat
xcmsconvertcolors(3x11) - xfree86
xcmsconvertcolors(3) - suse
xcmscompressionproc(3) - hpux
Similar Topics in the Unix Linux Community
[bash] redirect (save) array to a file