Contents

CVColorPrimariesGetIntegerCodePointForString(_:)

Returns the standard integer code point corresponding to the Core Video color primaries constant string that you specify.

Declaration

func CVColorPrimariesGetIntegerCodePointForString(_ colorPrimariesString: CFString?) -> Int32

Parameters

Return Value

The code point corresponding to the color primaries string, or 2 (unknown) if the string is nil or the system doesn’t recognize it.

See Also

Converting between strings and integer code points