benilla-re systems structs docs

CSimpleHTML::AddTextBlock

function · ui · orchestration

Address
0x78adb0 · 442 bytes, up to 0x78af69
Meaning
Adds a text block below the last one in its element's font and its align
Confidence
verified, proof one
Finding
ui/simplehtml#blocks-stack
Test
ui::glue_788_78adb0_negate

Finding: Blocks stack in ui: SimpleHTML

Each text block is a FontString in the ARTWORK layer. The first is anchored TOPLEFT to the frame's TOPLEFT; each later one TOPLEFT to the last text block's BOTTOMLEFT, offset down by that block's line spacing snapped to pixels, so with the default spacing of 0 blocks touch. A block's width is the frame's width when the text is set, and its height its own text's. It follows its element's font, or P's when the element's font has no file, and justifies by its align alone, never by the font.

The derivation is in the doc.

Callers 3

Callees 10

Calls and jumps by a bare address, from tables/calls.tsv.