RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
Loading...
Searching...
No Matches
rmgui_text_shape_storage_t Struct Reference

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

Detailed Description

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.

Field Documentation

◆ codepoints

uint32_t* rmgui_text_shape_storage_t::codepoints

◆ offsets

size_t* rmgui_text_shape_storage_t::offsets

◆ clusters

size_t * rmgui_text_shape_storage_t::clusters

◆ visual

size_t * rmgui_text_shape_storage_t::visual

◆ levels

uint8_t* rmgui_text_shape_storage_t::levels

◆ bidi

rmgui_bidi_work_t* rmgui_text_shape_storage_t::bidi

◆ fonts

const rmgui_font_t** rmgui_text_shape_storage_t::fonts

◆ runs

rmgui_fallback_run_t* rmgui_text_shape_storage_t::runs

◆ capacity

size_t rmgui_text_shape_storage_t::capacity

◆ shaped

rmgui_shaped_glyph_t* rmgui_text_shape_storage_t::shaped

◆ scratch

rmgui_shaped_glyph_t * rmgui_text_shape_storage_t::scratch

◆ glyphs

rmgui_text_glyph_t* rmgui_text_shape_storage_t::glyphs

◆ glyph_capacity

size_t rmgui_text_shape_storage_t::glyph_capacity

◆ lines

rmgui_text_shaped_line_t* rmgui_text_shape_storage_t::lines

◆ line_capacity

size_t rmgui_text_shape_storage_t::line_capacity

The documentation for this struct was generated from the following file: