MonobjcMonobjc Documented Class Library
CreateCGImageFromRectFormatColorSpace Method (im, r, f, cs)
NamespacesMonobjc.QuartzCoreCIContextCreateCGImageFromRectFormatColorSpace(CIImage, CGRect, Int32, IntPtr)

Creates a Quartz 2D image from a region of a CIImage object.

Original signature is '- (CGImageRef)createCGImage:(CIImage *)im fromRect:(CGRect)r format:(CIFormat)f colorSpace:(CGColorSpaceRef)cs'

Available in 5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual IntPtr CreateCGImageFromRectFormatColorSpace(
	CIImage im,
	CGRect r,
	int f,
	IntPtr cs
)
Public Overridable Function CreateCGImageFromRectFormatColorSpace ( _
	im As CIImage, _
	r As CGRect, _
	f As Integer, _
	cs As IntPtr _
) As IntPtr
public:
virtual IntPtr CreateCGImageFromRectFormatColorSpace(
	CIImage^ im, 
	CGRect r, 
	int f, 
	IntPtr cs
)
Parameters
im (CIImage)
A CIImage object.
r (CGRect)
The region of the image to render.
f (Int32)
The format of the image.
cs (IntPtr)
The color space of the image.
Return Value
A Quartz 2D (CGImageRef) image. You are responsible for releasing the returned image when you no longer need it.
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)