Nana C++ Library. Reference for users.
What we need to use nana
|
Public Types | |
enum | mode { mode::truncate_with_ellipsis, mode::truncate_letter_with_ellipsis, mode::word_wrap } |
using | graph_reference = graphics & |
Public Member Functions | |
text_renderer (graph_reference graph, align=align::left) | |
nana::size | extent_size (int x, int y, const wchar_t *, std::size_t len, unsigned space_pixels) const |
void | render (const point &, const wchar_t *, std::size_t len) |
void | render (const point &, const wchar_t *, std::size_t len, unsigned space_pixels, mode) |
|
strong |
nana::paint::text_renderer::text_renderer | ( | graph_reference | graph, |
align | ta = align::left |
||
) |
nana::size nana::paint::text_renderer::extent_size | ( | int | x, |
int | y, | ||
const wchar_t * | str, | ||
std::size_t | len, | ||
unsigned | space_pixels | ||
) | const |
void nana::paint::text_renderer::render | ( | const point & | pos, |
const wchar_t * | str, | ||
std::size_t | len | ||
) |
void nana::paint::text_renderer::render | ( | const point & | pos, |
const wchar_t * | str, | ||
std::size_t | len, | ||
unsigned | space_pixels, | ||
mode | rendering_mode | ||
) |