IDWriteFactory2.CreateGlyphRunAnalysis

<summary> Creates a glyph run analysis object, which encapsulates information used to render a glyph run. </summary> <param name="glyphRun">Structure specifying the properties of the glyph run.</param> <param name="transform">Optional transform applied to the glyphs and their positions. This transform is applied after the scaling specified the emSize and pixelsPerDip.</param> <param name="renderingMode">Specifies the rendering mode, which must be one of the raster rendering modes (i.e., not default and not outline).</param> <param name="measuringMode">Specifies the method to measure glyphs.</param> <param name="gridFitMode">How to grid-fit glyph outlines. This must be non-default.</param> <param name="baselineOriginX">Horizontal position of the baseline origin, in DIPs.</param> <param name="baselineOriginY">Vertical position of the baseline origin, in DIPs.</param> <param name="glyphRunAnalysis">Receives a pointer to the newly created object.</param> <returns> Standard HRESULT error code. </returns>

interface IDWriteFactory2
HRESULT
CreateGlyphRunAnalysis
(
const(DWRITE_GLYPH_RUN)* glyphRun
,
const(DWRITE_MATRIX)* transform
,
DWRITE_RENDERING_MODE renderingMode
,
DWRITE_MEASURING_MODE measuringMode
,,
DWRITE_TEXT_ANTIALIAS_MODE antialiasMode
,,,
IDWriteGlyphRunAnalysis* glyphRunAnalysis
)

Meta