Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XcmsSWP(XS) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DisplayOfCCC(XS)

XcmsCCCOfColormap(XS)

XcmsConvertColors(XS)

ateCCC(XS)

XcmsDefaultCCC(XS)


 XcmsSetWhitePoint(XS)    X Version 11 (Release 5)      XcmsSetWhitePoint(XS)
                                6 January 1993


 Name

    XcmsSetWhitePoint - modifying CCC attributes

 Syntax


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

    XcmsWhiteAdjustProc XcmsSetWhiteAdjustProc(ccc, white_adjust_proc,
                                               client_data)
          XcmsCCC ccc;
          XcmsWhiteAdjustProc white_adjust_proc;
          XPointer client_data;


 Arguments


    ccc            Specifies the CCC.

    clientdata    Specifies client data for the white point adjustment pro-
                   cedure or NULL.

    color          Specifies the new Client White Point.

    whiteadjustproc
                   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, XcmsCIExyYFormat,
    or XcmsUndefinedFormat.  If color is NULL, this function sets the format
    component of the Client White Point specification to XcmsUndefinedFormat,
    indicating that the Client White Point is assumed to be the same as the
    Screen White Point.

    The XcmsSetWhiteAdjustProc function first sets the white point adjustment
    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(XS), XcmsCCCOfColormap(XS), XcmsConvertColors(XS), XcmsCre-
    ateCCC(XS), XcmsDefaultCCC(XS)
    Xlib - C Language X Interface


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026