Unravel Engine C++ Reference
|
Public Member Functions | |
text_buffer (font_manager *manager) | |
void | resize_buffers (size_t max_buffered_characters) |
auto | get_max_buffered_characters () const -> size_t |
auto | get_outline_color () -> uint32_t |
auto | get_outline_width () -> float |
auto | get_drop_shadow_color () -> uint32_t |
auto | get_drop_shadow_offset_u () -> float |
auto | get_drop_shadow_offset_v () -> float |
auto | get_drop_shadow_softener () -> float |
void | set_style (uint32_t flags=style_normal) |
void | set_text_color (uint32_t rgba=0xff000000) |
void | set_background_color (uint32_t rgba=0xff000000) |
void | set_foreground_color (uint32_t rgba=0xff000000) |
void | set_overline_color (uint32_t rgba=0xff000000) |
void | set_underline_color (uint32_t rgba=0xff000000) |
void | set_strike_through_color (uint32_t rgba=0xff000000) |
void | set_outline_color (uint32_t rgba=0xff000000) |
void | set_outline_width (float outline_width=3.0f) |
void | set_drop_shadow_color (uint32_t rgba=0xff000000) |
void | set_drop_shadow_offset (float u, float v) |
void | set_drop_shadow_softener (float smoother) |
void | set_pen_position (float x, float y) |
void | get_pen_position (float *x, float *y) |
void | set_pen_origin (float x, float y) |
void | set_apply_kerning (bool apply_kerning) |
void | append_text (font_handle font_handle, const char *str, const char *end=nullptr) |
void | append_text (font_handle font_handle, const wchar_t *str, const wchar_t *end=nullptr) |
void | append_atlas_face (font_handle font_handle, uint16_t face_index) |
void | clear_text_buffer () |
auto | get_vertex_buffer () -> const uint8_t * |
auto | get_vertex_count () const -> uint32_t |
auto | get_vertex_size () const -> uint32_t |
auto | get_index_buffer () const -> const uint16_t * |
auto | get_buffers_dirty () const -> bool |
void | set_buffers_dirty (bool dirty) |
auto | get_index_count () const -> uint32_t |
auto | get_index_size () const -> uint32_t |
auto | get_text_color () const -> uint32_t |
auto | get_rectangle () const -> text_rectangle |
Definition at line 64 of file text_buffer_manager.cpp.
|
inline |
Definition at line 67 of file text_buffer_manager.cpp.
void gfx::text_buffer::append_atlas_face | ( | font_handle | font_handle, |
uint16_t | face_index ) |
Definition at line 431 of file text_buffer_manager.cpp.
void gfx::text_buffer::append_text | ( | font_handle | font_handle, |
const char * | str, | ||
const char * | end = nullptr ) |
Definition at line 334 of file text_buffer_manager.cpp.
void gfx::text_buffer::append_text | ( | font_handle | font_handle, |
const wchar_t * | str, | ||
const wchar_t * | end = nullptr ) |
Definition at line 388 of file text_buffer_manager.cpp.
void gfx::text_buffer::clear_text_buffer | ( | ) |
Definition at line 471 of file text_buffer_manager.cpp.
|
inline |
Definition at line 227 of file text_buffer_manager.cpp.
|
inline |
Definition at line 95 of file text_buffer_manager.cpp.
|
inline |
Definition at line 100 of file text_buffer_manager.cpp.
|
inline |
Definition at line 105 of file text_buffer_manager.cpp.
|
inline |
Definition at line 110 of file text_buffer_manager.cpp.
|
inline |
Definition at line 222 of file text_buffer_manager.cpp.
|
inline |
Definition at line 237 of file text_buffer_manager.cpp.
|
inline |
Definition at line 242 of file text_buffer_manager.cpp.
|
inline |
Definition at line 80 of file text_buffer_manager.cpp.
|
inline |
Definition at line 85 of file text_buffer_manager.cpp.
|
inline |
Definition at line 90 of file text_buffer_manager.cpp.
|
inline |
Definition at line 182 of file text_buffer_manager.cpp.
|
inline |
Definition at line 252 of file text_buffer_manager.cpp.
|
inline |
Definition at line 247 of file text_buffer_manager.cpp.
|
inline |
Definition at line 207 of file text_buffer_manager.cpp.
|
inline |
Definition at line 212 of file text_buffer_manager.cpp.
|
inline |
Definition at line 217 of file text_buffer_manager.cpp.
|
inline |
Definition at line 73 of file text_buffer_manager.cpp.
|
inline |
Definition at line 194 of file text_buffer_manager.cpp.
|
inline |
Definition at line 125 of file text_buffer_manager.cpp.
|
inline |
Definition at line 232 of file text_buffer_manager.cpp.
|
inline |
Definition at line 160 of file text_buffer_manager.cpp.
|
inline |
Definition at line 165 of file text_buffer_manager.cpp.
|
inline |
Definition at line 171 of file text_buffer_manager.cpp.
|
inline |
Definition at line 130 of file text_buffer_manager.cpp.
|
inline |
Definition at line 150 of file text_buffer_manager.cpp.
|
inline |
Definition at line 155 of file text_buffer_manager.cpp.
|
inline |
Definition at line 135 of file text_buffer_manager.cpp.
|
inline |
Definition at line 188 of file text_buffer_manager.cpp.
|
inline |
Definition at line 176 of file text_buffer_manager.cpp.
|
inline |
Definition at line 145 of file text_buffer_manager.cpp.
|
inline |
Definition at line 115 of file text_buffer_manager.cpp.
|
inline |
Definition at line 120 of file text_buffer_manager.cpp.
|
inline |
Definition at line 140 of file text_buffer_manager.cpp.