Interface FontCollectionLoader
- Namespace
- SharpDX.DirectWrite
- Assembly
- SharpDX.Direct2D1.dll
[Guid("cca920e4-52f0-492b-bfa8-29c72ee0a468")]
public interface FontCollectionLoader : IUnknown, ICallbackable, IDisposable
- Inherited Members
Methods
CreateEnumeratorFromKey(Factory, DataPointer)
Creates a font file enumerator object that encapsulates a collection of font files. The font system calls back to this interface to create a font collection.
FontFileEnumerator CreateEnumeratorFromKey(Factory factory, DataPointer collectionKey)
Parameters
factory
FactoryPointer to the Factory object that was used to create the current font collection.
collectionKey
DataPointerA font collection key that uniquely identifies the collection of font files within the scope of the font collection loader being used. The buffer allocated for this key must be at least the size, in bytes, specified by collectionKeySize.
Returns
- FontFileEnumerator
a reference to the newly created font file enumerator.