Struct ImageIO.CGImageSourceRef
public ref struct ImageIO.CGImageSourceRef : IDisposable
- Implements
- Inherited Members
Constructors
CGImageSourceRef(nint)
public CGImageSourceRef(nint self)
Parameters
selfnint
Fields
Self
public readonly nint Self
Field Value
Methods
CreateImageAtIndex(nuint)
Decodes the image at index (0 for the primary frame).
Returns a new CGImageRef that the caller owns and must dispose.
public CoreGraphics.CGImageRef CreateImageAtIndex(nuint index = 0)
Parameters
indexnuint
Returns
CreateWithURL(nint)
Creates a CGImageSource from a CFURL. The source is retained; caller must dispose.
public static ImageIO.CGImageSourceRef CreateWithURL(nint cfUrlRef)
Parameters
cfUrlRefnint
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Operators
implicit operator nint(CGImageSourceRef)
public static implicit operator nint(ImageIO.CGImageSourceRef r)