HitTestGlyph Struct

Definition

One character code shown on a page as a HitTestIndex holds it: its box in page space, the Unicode text it stands for, the code and the rendering mode it was shown in.

public readonly record struct HitTestGlyph : IEquatable<HitTestGlyph>

Remarks

ISO 32000-2 §9.4.4 (the text rendering matrix and the CTM), §9.2.4 (w0), §9.8.1 (Table 120, Ascent and Descent) and §9.10.2 (Unicode). Page space is default user space (§8.3.2.3), before the crop box, rotation and user unit; a viewer maps a device point into it through the inverse of its device transform. The box is the same as Quad: from the origin to w0 along the baseline and from the font's descent to its ascent across it, rotated, skewed or reflected with the text.

Each shown code is one glyph, in content order (the order the content shows them, §9.4.3), whatever font it is in (Type 3 included) and whatever its rendering mode (invisible text, mode 3, included); a code a substitute draws as several glyphs is still one. Members are added, never changed.

Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Properties (7)