IDWriteFontFace.GetDesignGlyphMetrics

<summary> Obtains ideal glyph metrics in font design units. Design glyphs metrics are used for glyph positioning. </summary> <param name="glyphIndices">An array of glyph indices to compute the metrics for.</param> <param name="glyphCount">The number of elements in the glyphIndices array.</param> <param name="glyphMetrics">Array of DWRITE_GLYPH_METRICS structures filled by this function. The metrics returned by this function are in font design units.</param> <param name="isSideways">Indicates whether the font is being used in a sideways run. This can affect the glyph metrics if the font has oblique simulation because sideways oblique simulation differs from non-sideways oblique simulation.</param> <returns> Standard HRESULT error code. If any of the input glyph indices are outside of the valid glyph index range for the current font face, E_INVALIDARG will be returned. </returns>

interface IDWriteFontFace
extern (Windows)
HRESULT
GetDesignGlyphMetrics
()

Meta