Struct CoreGraphics.CGDataProviderRef
public ref struct CoreGraphics.CGDataProviderRef : IDisposable
- Implements
- Inherited Members
Constructors
CGDataProviderRef(nint)
public CGDataProviderRef(nint self)
Parameters
selfnint
Fields
Self
public readonly nint Self
Field Value
Methods
CreateWithData(nint, nuint, nint)
Creates a data provider from a raw memory buffer. The buffer must remain valid for the lifetime of the provider. Use releaseCallback to free the buffer when the provider is destroyed.
public static CoreGraphics.CGDataProviderRef CreateWithData(nint data, nuint size, nint releaseCallback = 0)
Parameters
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Operators
implicit operator nint(CGDataProviderRef)
public static implicit operator nint(CoreGraphics.CGDataProviderRef r)