Class FontFaceOwnedHandle
public class FontFaceOwnedHandle : FontFaceHandle, IDisposable
- Inheritance
-
FontFaceOwnedHandle
- Implements
- Inherited Members
Constructors
FontFaceOwnedHandle(IntPtr)
Creates a new instance of FontFaceOwnedHandle. Assumes that the given pointer is owned by the runtime.
public FontFaceOwnedHandle(IntPtr ptr)
Parameters
ptr
IntPtr
Methods
FromUnowned(IntPtr)
Create a FontFaceOwnedHandle from a pointer that is assumed unowned. To do so a boxed copy is created of the given pointer to be used as the handle.
public static FontFaceOwnedHandle FromUnowned(IntPtr ptr)
Parameters
ptr
IntPtrA pointer to a FontFace which is not owned by the runtime.
Returns
- FontFaceOwnedHandle
A FontFaceOwnedHandle
ReleaseHandle()
When overridden in a derived class, executes the code required to free the handle.
protected override bool ReleaseHandle()