CGxStringBatch::EmitGlyphQuads
function · font · primitive
- Address
0x5c8710· 1115 bytes, up to0x5c8b6a- Signature
void __thiscall (CGxStringBatch *this, const void *quads, const float *snap, const float *pen, const uint32_t *color, const NTempest::C3Vector *anchor, uint32_t, uint32_t, uint32_t, uint32_t)- Meaning
- Translates laid-out quads by the pen into the vertex buffer
- Confidence
- verified, proof one
- Finding
- font/glyphs#emitting-quads
- Test
font::glyph_quad_emit_difftest
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
- CGxString::EmitLine font
Callees 11
- __ftol crt
- GxDeviceCaps gx
- GetDeviceView gx
- ScreenToPixelHeight font
- ScreenToPixelWidth font
- floor crt
- TransformPoint cmath
- MultiplyMatrix4InPlace cmath
- Determinant4 cmath
- InvertMatrix4WithDeterminant cmath
- TranslateMatrix cmath
Calls and jumps by a bare address, from tables/calls.tsv.