IDWriteFontFace1.GetDesignGlyphAdvances

<summary> Returns the advances in design units for a sequences of glyphs. </summary> <param name="glyphCount">Number of glyphs to retrieve advances for.</param> <param name="glyphIndices">Array of glyph id's to retrieve advances for.</param> <param name="glyphAdvances">Returned advances in font design units for each glyph.</param> <param name="isSideways">Retrieve the glyph's vertical advance height rather than horizontal advance widths.</param> <remarks> This is equivalent to calling GetGlyphMetrics and using only the advance width/height. </remarks> <returns> Standard HRESULT error code. </returns>

interface IDWriteFontFace1
extern (Windows)
HRESULT
GetDesignGlyphAdvances
(
UINT32 glyphCount
,
const(UINT16)* glyphIndices
,,
BOOL isSideways = FALSE
)

Meta