PATHDocumentation > Mac OS 8 and 9 > Mutlimedia and Graphics > ColorSync Manager >

Managing Color With ColorSync


Constants for ColorSync Manager Gestalt Selectors and Responses

Changed In ColorSync 2.5

You use the following constants with the Gestalt function to determine which version of ColorSync is present. For a code sample, see Determining If the ColorSync Manager Is Available . The constant gestaltColorSync25 was added in ColorSync 2.5. For additional information on ColorSync versions, see Table 8-1 .

enum {
    gestaltColorMatchingVersion     = 'cmtc', /* Selector for version info. */
    gestaltColorSync10              = 0x0100, /* ColorSync 1.0; no QD matching */
    gestaltColorSync11              = 0x0110, /* ColorSync 1.0.3 */
    gestaltColorSync104             = 0x0104, /* ColorSync 1.0.4 */
    gestaltColorSync105             = 0x0105, /* ColorSync 1.0.5 */
    gestaltColorSync20              = 0x0200, /* ColorSync 2.0 */
    gestaltColorSync21              = 0x0210, /* ColorSync 2.1 */
    gestaltColorSync25              = 0x0250, /* ColorSync 2.5 */
    gestaltColorSync251             = 0x0251 /* ColorSync 2.5.1 */
};

Enumerator descriptions

gestaltColorMatchingVersion
The selector for obtaining version information. Use when calling the Gestalt function to determine whether the ColorSync Manager is available.
gestaltColorSync10
A Gestalt response value of gestaltColorSync10 indicates version 1.0 of the ColorSync Manager is present. This version supports general purpose color matching only and does not provide QuickDraw-specific matching functions.
gestaltColorSync11
A Gestalt response value of gestaltColorSync11 indicates version 1.0.3 of the ColorSync Manager is present.
gestaltColorSync104
A Gestalt response value of gestaltColorSync104 indicates version 1.4 of the ColorSync Manager is present.
gestaltColorSync105
A Gestalt response value of gestaltColorSync105 indicates version 1.5 of the ColorSync Manager is present.
gestaltColorSync20
A Gestalt response value of gestaltColorSync20 indicates version 2.0 of the ColorSync Manager is present.
gestaltColorSync21
A Gestalt response value of gestaltColorSync21 indicates version 2.1 of the ColorSync Manager is present.
gestaltColorSync25
A Gestalt response value of gestaltColorSync25 indicates version 2.5 of the ColorSync Manager is present.
gestaltColorSync251
A Gestalt response value of gestaltColorSync251 indicates version 2.5.1 of the ColorSync Manager is present. Note that version 2.5.1 introduces no new API.

© 1988-1999 Apple Computer, Inc. — (Last Updated 20 Jan 99)