MonobjcMonobjc Documented Class Library
CGColorSpace Class
NamespacesMonobjc.ApplicationServicesCGColorSpace

[Missing <summary> documentation for "T:Monobjc.ApplicationServices.CGColorSpace"]

Declaration Syntax
C#Visual BasicVisual C++
public static class CGColorSpace
Public NotInheritable Class CGColorSpace
public ref class CGColorSpace abstract sealed
Members
All MembersMethodsFields



IconMemberDescription
CopyICCProfile(IntPtr)

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

Original signature is 'CFDataRef CGColorSpaceCopyICCProfile( CGColorSpaceRef space );'

Available in Mac OS X v10.5 and later.


CopyName(IntPtr)

Returns the name used to create the specified color space.

Original signature is 'CFStringRef CGColorSpaceCopyName( CGColorSpaceRef space );'

Available in Mac OS X v10.6 and later.


CreateCalibratedGray(IntPtr, IntPtr, CGFloat)

Creates a calibrated grayscale color space.

Original signature is 'CGColorSpaceRef CGColorSpaceCreateCalibratedGray( const CGFloat whitePoint[3], const CGFloat blackPoint[3], CGFloat gamma );'

Available in Mac OS X v10.0 and later.


CreateCalibratedRGB(IntPtr, IntPtr, IntPtr, IntPtr)

Creates a calibrated RGB color space.

Original signature is 'CGColorSpaceRef CGColorSpaceCreateCalibratedRGB( const CGFloat whitePoint[3], const CGFloat blackPoint[3], const CGFloat gamma[3], const CGFloat matrix[9] );'

Available in Mac OS X v10.0 and later.


CreateDeviceCMYK()()()()

Creates a device-dependent CMYK color space.

Original signature is 'CGColorSpaceRef CGColorSpaceCreateDeviceCMYK( void );'

Available in Mac OS X v10.0 and later.


CreateDeviceGray()()()()

Creates a device-dependent grayscale color space.

Original signature is 'CGColorSpaceRef CGColorSpaceCreateDeviceGray( void );'

Available in Mac OS X v10.0 and later.


CreateDeviceRGB()()()()

Creates a device-dependent RGB color space.

Original signature is 'CGColorSpaceRef CGColorSpaceCreateDeviceRGB( void );'

Available in Mac OS X v10.0 and later.


CreateICCBased(NSUInteger, IntPtr, IntPtr, IntPtr)

Creates a device-independent color space that is defined according to the ICC color profile specification.

Original signature is 'CGColorSpaceRef CGColorSpaceCreateICCBased( size_t nComponents, const CGFloat *range, CGDataProviderRef profile, CGColorSpaceRef alternate );'

Available in Mac OS X v10.0 and later.


CreateIndexed(IntPtr, NSUInteger, String)

Creates an indexed color space, consisting of colors specified by a color lookup table.

Original signature is 'CGColorSpaceRef CGColorSpaceCreateIndexed( CGColorSpaceRef baseSpace, size_t lastIndex, const unsigned char *colorTable );'

Available in Mac OS X v10.0 and later.


CreateLab(IntPtr, IntPtr, IntPtr)

Creates a device-independent color space that is relative to human color perception, according to the CIE L*a*b* standard.

Original signature is 'CGColorSpaceRef CGColorSpaceCreateLab( const CGFloat whitePoint[3], const CGFloat blackPoint[3], const CGFloat range[4] );'

Available in Mac OS X v10.0 and later.


CreatePattern(IntPtr)

Creates a pattern color space.

Original signature is 'CGColorSpaceRef CGColorSpaceCreatePattern( CGColorSpaceRef baseSpace );'

Available in Mac OS X v10.1 and later.


CreateWithICCProfile(NSData)

Creates an ICC-based color space using the ICC profile contained in the specified data.

Original signature is 'CGColorSpaceRef CGColorSpaceCreateWithICCProfile( CFDataRef data );'

Available in Mac OS X v10.6 and later.


CreateWithName(NSString)

Creates a specified type of Quartz color space.

Original signature is 'CGColorSpaceRef CGColorSpaceCreateWithName( CFStringRef name );'

Available in Mac OS X v10.2 and later.


CreateWithPlatformColorSpace(IntPtr)

Creates a platform-specific color space.

Original signature is 'CGColorSpaceRef CGColorSpaceCreateWithPlatformColorSpace( void *platformColorSpaceReference );'

Available in Mac OS X v10.1 and later.


GetBaseColorSpace(IntPtr)

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

Original signature is 'CGColorSpace CGColorSpaceGetBaseColorSpace( CGColorSpaceRef space );'

Available in Mac OS X v10.5 and later.


GetColorTable(IntPtr, IntPtr)

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

Original signature is 'void CGColorSpaceGetColorTable( CGColorSpaceRef space, uint8_t *table); );'

Available in Mac OS X v10.5 and later.


GetColorTableCount(IntPtr)

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

Original signature is 'size_t CGColorSpaceGetColorTableCount( CGColorSpaceRef space );'

Available in Mac OS X v10.5 and later.


GetModel(IntPtr)

Returns the color space model of the provided color space.

Original signature is 'CGColorSpaceModel CGColorSpaceGetModel( CGColorSpaceRef space );'

Available in Mac OS X v10.5 and later.


GetNumberOfComponents(IntPtr)

Returns the number of color components in a color space.

Original signature is 'size_t CGColorSpaceGetNumberOfComponents( CGColorSpaceRef cs );'

Available in Mac OS X v10.0 and later.


kCGColorSpaceGenericGrayGamma2_2

The name of the generic gray color space with a gamma value of 2.2.

Available in Mac OS X v10.6 and later.


Release(IntPtr)

Decrements the retain count of a color space.

Original signature is 'void CGColorSpaceRelease( CGColorSpaceRef cs );'

Available in Mac OS X v10.0 and later.


Retain(IntPtr)

Increments the retain count of a color space.

Original signature is 'CGColorSpaceRef CGColorSpaceRetain( CGColorSpaceRef cs );'

Available in Mac OS X v10.0 and later.


Inheritance Hierarchy
Object
CGColorSpace
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)