Class MFFontCollectionLoader¶
Defined in File FontLoader.h
Class Documentation¶
-
class
MFFontCollectionLoader
: public IDWriteFontCollectionLoader¶ Class to assist in the loading of font collections.
Public Functions
-
MFFontCollectionLoader
()¶ Sets the reference count to 0.
-
HRESULT __stdcall MFFontCollectionLoader::QueryInterface(REFIID iid, void ** ppvObject)
Queries the interface.
yea im not gonna lie i don’t have a clue what this shit does
-
ULONG __stdcall MFFontCollectionLoader::AddRef()
Acquires a new reference to the object.
-
ULONG __stdcall MFFontCollectionLoader::Release()
Releases the object.
-
HRESULT __stdcall MFFontCollectionLoader::CreateEnumeratorFromKey(IDWriteFactory * factory, void const * collectionKey, UINT32 collectionKeySize, IDWriteFontFileEnumerator ** fontFileEnumerator)
Creates a new Font File Enumerator.
- Return
S_OK
if the enumerator was created, otherwise returns an error code.- Parameters
factory
: - The DirectWrite factory to use.collectionKey
: - The key to use for…something.collectionKeySize
: - The size of the collection keyfontFileEnumerator
: - Pointer to the font file enumerator to set to the new enumerator.
-