Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

NAME

XcmsAddColorSpace − add a device-independent color space. 

Synopsis

Status XcmsAddColorSpace(color_space)

      XcmsColorSpace *color_space;

Arguments

color_space
Specifies the device-independent color space to add.

Availability

Release 5 and later. 

Description

XcmsAddColorSpace() makes a device-independent color space (actually an XcmsColorSpace structure) accessible by the color management system.  Because format values for unregistered color spaces are assigned at run-time, they should be treated as private to the client.  If references to an unregistered color space must be made outside the client (for example, storing color specifications in a file using the unregistered color space), then reference should be made by color space prefix (see XcmsFormatOfPrefix() and XcmsPrefixOfFormat()).  If the XcmsColorSpace structure is already accessible in the color management system, XcmsAddColorSpace() returns XcmsSuccess.  Note that added XcmsColorSpace structures must be retained for reference by Xlib. 

Structures

Refer to the XcmsColorSpace reference page. 

See Also

XcmsColorSpace(). 

Copyright O’Reilly & Assoc.  —  

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