Holds the necessary information to draw text using a Font.
More...
#include <font.hpp>
|
MOUNTAIN_API bool_t | SetSourceData (const Pointer< File > &file, uint32_t size) |
| This also loads the font.
|
|
MOUNTAIN_API void | ResetSourceData () override |
| This also unloads the font.
|
|
MOUNTAIN_API Vector2 | CalcTextSize (std::string_view text) const |
|
|
static MOUNTAIN_API constexpr std::array< const char_t *, 1 > | FileExtensions |
| Allowed extensions for font files. More...
|
|
Holds the necessary information to draw text using a Font.
Definition at line 15 of file font.hpp.
◆ FileExtensions
MOUNTAIN_API constexpr std::array<const char_t*, 1> Mountain::Font::FileExtensions |
|
static |
Initial value:
Allowed extensions for font files.
Definition at line 20 of file font.hpp.
The documentation for this class was generated from the following file:
- Mountain/include/Mountain/resource/font.hpp