Skip to main content

Module ids

Module ids 

Source
Expand description

Record ids whose meaning is known (see the spec for the confidence of each).

Constants§

BALLOON
The balloon the block sits in: 1-based index of the layer’s vector objects, whose bbox centre the block’s bbox is relative to (0 = none, the bbox is in layer pixels).
BBOX
Text block bounding box, layer pixels (i32 × 4: x0, y0, x1, y1).
BLOCK_SIZE
Text block width and height in pixels (i32 × 2).
FONT
Font (u16 ?, u16 length, UTF-8 name, u16 length, PostScript name).
FONT_SIZE
Font size × 100 in points (u32).
QUAD
Four corners in 1/100 px relative to the anchor (i32 × 8).
RENDER_OFFSCREEN
Id of the offscreen CSP rendered the text into (u32; 0 = render again).
RUN_FONT_SIZE
Character runs with a font size (u32 count, then runs).