|
RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
|
Caller-owned mutable workspace. More...
#include <text_shape.h>
Data Fields | |
| uint32_t * | codepoints |
| size_t * | offsets |
| size_t * | clusters |
| size_t * | visual |
| uint8_t * | levels |
| rmgui_bidi_work_t * | bidi |
| const rmgui_font_t ** | fonts |
| rmgui_fallback_run_t * | runs |
| size_t | capacity |
| rmgui_shaped_glyph_t * | shaped |
| rmgui_shaped_glyph_t * | scratch |
| rmgui_text_glyph_t * | glyphs |
| size_t | glyph_capacity |
| rmgui_text_shaped_line_t * | lines |
| size_t | line_capacity |
Caller-owned mutable workspace.
Every array has capacity entries unless named otherwise; offsets and clusters need capacity+1 entries. Glyph arrays have glyph_capacity entries, lines line_capacity. Workspaces must not alias input or each other. All workspace content may change even on refusal; previously returned layouts using this workspace are invalidated on entry. No allocation. Counts are size_t; geometry refusing overflow is int.
| uint32_t* rmgui_text_shape_storage_t::codepoints |
| size_t* rmgui_text_shape_storage_t::offsets |
| size_t * rmgui_text_shape_storage_t::clusters |
| size_t * rmgui_text_shape_storage_t::visual |
| uint8_t* rmgui_text_shape_storage_t::levels |
| rmgui_bidi_work_t* rmgui_text_shape_storage_t::bidi |
| const rmgui_font_t** rmgui_text_shape_storage_t::fonts |
| rmgui_fallback_run_t* rmgui_text_shape_storage_t::runs |
| size_t rmgui_text_shape_storage_t::capacity |
| rmgui_shaped_glyph_t* rmgui_text_shape_storage_t::shaped |
| rmgui_shaped_glyph_t * rmgui_text_shape_storage_t::scratch |
| rmgui_text_glyph_t* rmgui_text_shape_storage_t::glyphs |
| size_t rmgui_text_shape_storage_t::glyph_capacity |
| rmgui_text_shaped_line_t* rmgui_text_shape_storage_t::lines |
| size_t rmgui_text_shape_storage_t::line_capacity |