Function

CGColorSpaceGetBaseColorSpace

Returns the base color space of a pattern or indexed color space.

Declaration

CGColorSpaceRef CGColorSpaceGetBaseColorSpace(CGColorSpaceRef space);

Parameters

space

A color space object for a pattern or indexed color space.

Return Value

The base color space if the space parameter is a pattern or indexed color space; otherwise, NULL.

See Also

Getting Information About Color Spaces

CGColorSpaceCopyICCProfile

Returns a copy of the ICC profile of the provided color space.

Deprecated
CGColorSpaceCopyICCData

Returns a copy of the ICC profile data of the provided color space.

CGColorSpaceSupportsOutput

Returns a Boolean indicating whether the color space can be used as a destination color space.

CGColorSpaceGetNumberOfComponents

Returns the number of color components in a color space.

CGColorSpaceGetTypeID

Returns the Core Foundation type identifier for Quartz color spaces.

CGColorSpaceGetModel

Returns the color space model of the provided color space.

CGColorSpaceIsWideGamutRGB

Returns whether the RGB color space covers a significant portion of the NTSC color gamut.

CGColorSpaceGetColorTableCount

Returns the number of entries in the color table of an indexed color space.

CGColorSpaceGetColorTable

Copies the entries in the color table of an indexed color space.

CGColorSpaceCopyName

Returns the name used to create the specified color space.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software