Creates a CGLayer object that is associated with a graphics context.
Original signature is 'CGLayerRef CGLayerCreateWithContext ( CGContextRef context, CGSize size, CFDictionaryRef auxiliaryInfo );'
Available in Mac OS X version 10.4 and later.

C# | Visual Basic | Visual C++ |
public static IntPtr CreateWithContext( IntPtr context, CGSize size, NSDictionary auxiliaryInfo )
Public Shared Function CreateWithContext ( _ context As IntPtr, _ size As CGSize, _ auxiliaryInfo As NSDictionary _ ) As IntPtr
public: static IntPtr CreateWithContext( IntPtr context, CGSize size, NSDictionary^ auxiliaryInfo )


A CGLayer object. You are responsible for releasing this object using the function CGLayerRelease when you no longer need the layer.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)