MonobjcMonobjc Documented Class Library
CreateCalibratedGray Method (whitePoint, blackPoint, gamma)
NamespacesMonobjc.ApplicationServicesCGColorSpaceCreateCalibratedGray(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.

Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr CreateCalibratedGray(
	IntPtr whitePoint,
	IntPtr blackPoint,
	CGFloat gamma
)
Public Shared Function CreateCalibratedGray ( _
	whitePoint As IntPtr, _
	blackPoint As IntPtr, _
	gamma As CGFloat _
) As IntPtr
public:
static IntPtr CreateCalibratedGray(
	IntPtr whitePoint, 
	IntPtr blackPoint, 
	CGFloat gamma
)
Parameters
whitePoint (IntPtr)
MISSING
blackPoint (IntPtr)
MISSING
gamma (CGFloat)
MISSING
Return Value
A new calibrated gray color space. You are responsible for releasing this object by calling CGColorSpaceRelease. If unsuccessful, returns NULL.
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)