[]
IDWriteFontFileLoader
[Guid("727cad4e-d6af-4c9e-8a08-d695b11caa49")]
public class FontFileLoaderNative : ComObjectCallback, IUnknown, IFontFileLoader, ICallbackable, IDisposable
Initializes a new instance of the FontFileLoaderNative class.
public FontFileLoaderNative(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
Creates a font file stream object that encapsulates an open file resource.
public IFontFileStream CreateStreamFromKey(DataPointer fontFileReferenceKey)
fontFileReferenceKey
DataPointerA reference to a font file reference key that uniquely identifies the font file resource within the scope of the font loader being used. The buffer allocated for this key must at least be the size, in bytes, specified by fontFileReferenceKeySize.
a reference to the newly created IFontFileStream object.
The resource is closed when the last reference to fontFileStream is released.
Performs an explicit conversion from System.IntPtr to FontFileLoaderNative.
public static explicit operator FontFileLoaderNative(IntPtr nativePointer)
nativePointer
System.IntPtr