Font loader.
More...
#include <Font.hpp>
◆ BinaryLoader()
CU_API castor::Font::BinaryLoader::BinaryLoader |
( |
| ) |
|
|
default |
◆ operator()() [1/2]
CU_API bool castor::Font::BinaryLoader::operator() |
( |
Font & | font, |
|
|
Path const & | path ) |
Loads an SDF font.
- Parameters
-
[in,out] | font | The font to load. |
[in] | path | The path of the font file. |
◆ operator()() [2/2]
CU_API bool castor::Font::BinaryLoader::operator() |
( |
Font & | font, |
|
|
Path const & | path, |
|
|
uint32_t | height ) |
Loads a non SDF font.
- Parameters
-
[in,out] | font | The font to load |
[in] | path | The path of the font file |
[in] | height | The font precision |
The documentation for this class was generated from the following file: