#include <text.h>
◆ Text() [1/3]
◆ Text() [2/3]
| nngn::Text::Text |
( |
const Font & | f, |
|
|
std::string_view | s ) |
|
inline |
◆ Text() [3/3]
| nngn::Text::Text |
( |
const Font & | f, |
|
|
std::string_view | s, |
|
|
size_t | cur ) |
|
inline |
◆ count_lines()
| std::size_t nngn::Text::count_lines |
( |
std::string_view | s, |
|
|
size_t | cur ) |
|
static |
◆ max_width()
◆ update_cur()
| void nngn::Text::update_cur |
( |
const Font & | f, |
|
|
size_t | cur ) |
◆ update_size()
| 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: