MonobjcMonobjc Documented Class Library
ImageWithCGLayer Method (layer)
NamespacesMonobjc.QuartzCoreCIImageImageWithCGLayer(IntPtr)

Creates and returns an image object from the contents supplied by a CGLayer object.

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

Available in 4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static CIImage ImageWithCGLayer(
	IntPtr layer
)
Public Shared Function ImageWithCGLayer ( _
	layer As IntPtr _
) As CIImage
public:
static CIImage^ ImageWithCGLayer(
	IntPtr layer
)
Parameters
layer (IntPtr)
A CGLayer object. For more information see Quartz 2D Programming Guide and CGLayer Reference.
Return Value
An image object initialized with the contents of the layer object.
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)