#include <text.h>
◆ Text() [1/6]
constexpr nngn::Text::Text |
( |
| ) |
|
|
constexprdefault |
◆ Text() [2/6]
nngn::Text::Text |
( |
const Font & |
f, |
|
|
std::string_view |
s |
|
) |
| |
|
inline |
◆ Text() [3/6]
nngn::Text::Text |
( |
const Font & |
f, |
|
|
std::string_view |
s, |
|
|
size_t |
cur |
|
) |
| |
|
inline |
◆ Text() [4/6]
constexpr nngn::Text::Text |
( |
| ) |
|
|
constexprdefault |
◆ Text() [5/6]
nngn::Text::Text |
( |
const Font & |
f, |
|
|
std::string_view |
s |
|
) |
| |
◆ Text() [6/6]
nngn::Text::Text |
( |
const Font & |
f, |
|
|
std::string_view |
s, |
|
|
size_t |
cur |
|
) |
| |
◆ count_lines() [1/2]
static size_t nngn::Text::count_lines |
( |
std::string_view |
s, |
|
|
size_t |
cur |
|
) |
| |
|
static |
◆ count_lines() [2/2]
static size_t nngn::Text::count_lines |
( |
std::string_view |
s, |
|
|
size_t |
cur |
|
) |
| |
|
static |
◆ max_width() [1/2]
◆ max_width() [2/2]
◆ update_cur() [1/2]
void nngn::Text::update_cur |
( |
const Font & |
f, |
|
|
size_t |
cur |
|
) |
| |
◆ update_cur() [2/2]
void nngn::Text::update_cur |
( |
const Font & |
f, |
|
|
size_t |
cur |
|
) |
| |
◆ update_size() [1/2]
void nngn::Text::update_size |
( |
const Font & |
f | ) |
|
◆ update_size() [2/2]
void nngn::Text::update_size |
( |
const Font & |
f | ) |
|
◆ cur
size_t nngn::Text::cur = 0 |
◆ nlines
size_t nngn::Text::nlines = 0 |
◆ size
vec2 nngn::Text::size = {0, 0} |
◆ spacing
float nngn::Text::spacing = 0 |
◆ str
std::string nngn::Text::str = {} |
The documentation for this struct was generated from the following files: