RasterRenderGlyph
function · unassigned · primitive
- Address
0x7daae0· 249 bytes, up to0x7dabd8- Signature
int32_t __fastcall (void *raster)- Meaning
- Converts an outline to 1-bit pixels: precision from flag 0x100, rows, then columns unless flag 0x200
- Confidence
- verified, proof one
- Finding
- font/freetype#mono-scan-conversion
Finding: Mono scan conversion in font: the FreeType calls
raster1 sets its precision from the outline's high-precision flag: with it, 10 bits per pixel and
a jitter of 24 units, 24/1024 px; without it, 6 bits and a jitter of 2, 2/64 px. It sweeps the
rows with drop-out control 2 and then, unless the outline flag 0x200 is set, the columns. A row
span from x1 to x2 fills the pixels from ceil(x1) to floor(x2), but only pixel ceil(x1)
when x2 − x1 − 1 px is at most the jitter; a span past either end of the row fills nothing, and
one partly outside is clamped to the row.
The derivation is in the doc.
Callers 1
- 0x7daa00 unassigned
Callees 2
- RasterSetHighPrecision unassigned
- 0x7db100 unassigned
Calls and jumps by a bare address, from tables/calls.tsv.