MonobjcMonobjc Documented Class Library
ImageWithCGLayerOptions Method (layer, d)
NamespacesMonobjc.QuartzCoreCIImageImageWithCGLayerOptions(IntPtr, NSDictionary)

Creates and returns an image object from the contents supplied by a CGLayer object, using the specified options.

Original signature is '+ (CIImage *)imageWithCGLayer:(CGLayerRef)layer options:(NSDictionary *)d'

Available in 4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static CIImage ImageWithCGLayerOptions(
	IntPtr layer,
	NSDictionary d
)
Public Shared Function ImageWithCGLayerOptions ( _
	layer As IntPtr, _
	d As NSDictionary _
) As CIImage
public:
static CIImage^ ImageWithCGLayerOptions(
	IntPtr layer, 
	NSDictionary^ d
)
Parameters
layer (IntPtr)
A CGLayer object. For more information see Quartz 2D Programming Guide and CGLayer Reference.
d (NSDictionary)
A dictionary that contains options for creating an image object. You can supply such options as a pixel format and a color space. See “Pixel Formats.”
Return Value
An image object initialized with the contents of the layer object and set up with the specified options.
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)