DWRITE_GLYPH_RUN

<summary> The DWRITE_GLYPH_RUN structure contains the information needed by renderers to draw glyph runs. All coordinates are in device independent pixels (DIPs). </summary>

Members

Variables

bidiLevel
UINT32 bidiLevel;

<summary> The implicit resolved bidi level of the run. Odd levels indicate right-to-left languages like Hebrew and Arabic, while even levels indicate left-to-right languages like English and Japanese (when written horizontally). For right-to-left languages, the text origin is on the right, and text should be drawn to the left. </summary>

fontEmSize
FLOAT fontEmSize;

<summary> Logical size of the font in DIPs, not points (equals 1/96 inch). </summary>

fontFace
IDWriteFontFace fontFace;

<summary> The physical font face to draw with. </summary>

glyphAdvances
const(FLOAT)* glyphAdvances;

<summary> Glyph advance widths. </summary>

glyphCount
UINT32 glyphCount;

<summary> The number of glyphs. </summary>

glyphIndices
const(UINT16)* glyphIndices;

<summary> The indices to render. </summary>

glyphOffsets
const(DWRITE_GLYPH_OFFSET)* glyphOffsets;

<summary> Glyph offsets. </summary>

isSideways
BOOL isSideways;

<summary> If true, specifies that glyphs are rotated 90 degrees to the left and vertical metrics are used. Vertical writing is achieved by specifying isSideways = true and rotating the entire run 90 degrees to the right via a rotate transform. </summary>

Meta