benilla-re systems structs docs

CGxString::EmitLine

function · font · orchestration

Address
0x5ce0c0 · 81 bytes, up to 0x5ce110
Signature
void __thiscall (CGxString *this, void *out, int line, int start, int count)
Meaning
Passes a line buffer to the quad emitter with the string's colours and anchor
Confidence
verified, proof one
Finding
font/glyphs#emitting-quads

Finding: Emitting quads in font: glyph cache and atlas

0x5c8710 copies the quads of one line buffer into the batch's vertex buffer with the pen added, and with the shadow flag set first draws the shadow copy. The string's 0x5ce0c0 calls it with the main colour +0x2c, the shadow offsets +0x34, the shadow colour +0x30, the anchor +0x70, the shadow bit (flag bit 0) and flag bit 5.

The derivation is in the doc.

Callers 1

Callees 1

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