MonobjcMonobjc Documented Class Library
GetContext Method (layer)
NamespacesMonobjc.ApplicationServicesCGLayerGetContext(IntPtr)

Returns the graphics context associated with a CGLayer object.

Original signature is 'CGContextRef CGLayerGetContext ( CGLayerRef layer );'

Available in Mac OS X version 10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr GetContext(
	IntPtr layer
)
Public Shared Function GetContext ( _
	layer As IntPtr _
) As IntPtr
public:
static IntPtr GetContext(
	IntPtr layer
)
Parameters
layer (IntPtr)
MISSING
Return Value
The graphics context associated with the layer.
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)