Creates a CGLayer object from the provided parameters.
Original signature is '- (CGLayerRef)createCGLayerWithSize:(CGSize)size info:(CFDictionaryRef)d'
Available in 4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual IntPtr CreateCGLayerWithSizeInfo( CGSize size, NSDictionary d )
Public Overridable Function CreateCGLayerWithSizeInfo ( _ size As CGSize, _ d As NSDictionary _ ) As IntPtr
public: virtual IntPtr CreateCGLayerWithSizeInfo( CGSize size, NSDictionary^ d )
Parameters
- size (CGSize)
- The size, in default user space units, of the layer relative to the graphics context.
- d (NSDictionary)
- A dictionary, which is passed to CGLayerCreateWithContext as the auxiliaryInfo parameter. Pass NULL as this parameter is reserved for future use.
Return Value
A CGLayer (CGLayerRef) 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)