#include <ttf_Font.hpp>
pu::ttf::Font::Font |
( |
u32 |
font_sz | ) |
|
sdl2::Font pu::ttf::Font::FindValidFontFor |
( |
char16_t |
ch | ) |
|
u32 pu::ttf::Font::GetFontSize |
( |
| ) |
|
|
inline |
std::pair<u32, u32> pu::ttf::Font::GetTextDimensions |
( |
String |
str | ) |
|
NX_CONSTEXPR bool pu::ttf::Font::IsValidFontFaceIndex |
( |
i32 |
index | ) |
|
|
inline |
i32 pu::ttf::Font::LoadFromFile |
( |
String |
path | ) |
|
void pu::ttf::Font::Unload |
( |
i32 |
font_idx | ) |
|
constexpr u32 pu::ttf::Font::DefaultFontSize = 25 |
|
static |
constexpr i32 pu::ttf::Font::InvalidFontFaceIndex = -1 |
|
static |
The documentation for this class was generated from the following file: