共用方式為


IDWriteFactory2::CreateGlyphRunAnalysis 方法 (dwrite_2.h)

語法

HRESULT CreateGlyphRunAnalysis(
  DWRITE_GLYPH_RUN const     *glyphRun,
  DWRITE_MATRIX const        *transform,
  DWRITE_RENDERING_MODE      renderingMode,
  DWRITE_MEASURING_MODE      measuringMode,
  DWRITE_GRID_FIT_MODE       gridFitMode,
  DWRITE_TEXT_ANTIALIAS_MODE antialiasMode,
  FLOAT                      baselineOriginX,
  FLOAT                      baselineOriginY,
  IDWriteGlyphRunAnalysis    **glyphRunAnalysis
);

參數

glyphRun

transform

renderingMode

measuringMode

gridFitMode

antialiasMode

baselineOriginX

baselineOriginY

glyphRunAnalysis

規格需求

需求
標頭 dwrite_2.h