init(workingColorSpace:targetColorSpace:)
Creates a color match from a working color space and a target display color space.
Declaration
init(workingColorSpace: CGColorSpace, targetColorSpace: CGColorSpace) throws(LowLevelRendererError)Parameters
- workingColorSpace:
The color space in which the renderer performs shading calculations.
- targetColorSpace:
The color space of the output display to convert to.
Discussion
Throws LowLevelRendererError if either color space is not a supported linear gamut.