|
API Documentation
|
|
|
13 class FontManager final :
public nkCommon::MaybeSingletonClass<FontManager>
Font * getByIndex(unsigned int index) const
Font * getDefaultFont() const
System * getSystem() const
Offers an interface to work with fonts.
Definition: Font.h:14
Font * get(nkMemory::StringView name) const
Font * createOrRetrieve(nkMemory::StringView name)
Manages the recorded fonts [WIP].
Definition: FontManager.h:14
The main system of the component.
Definition: System.h:18
void erase(nkMemory::StringView name)
void rename(nkMemory::StringView oldName, nkMemory::StringView newName)
Smart pointer owning the object instance it encapsulates.
Definition: UniquePtr.h:17
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkMemory::UniquePtr< Font > relinquish(nkMemory::StringView name)
Font * record(nkMemory::StringView name, nkMemory::UniquePtr< Font > resource)
Encompasses all API of component NilkinsWinUi.
Definition: Clipboard.h:7