共用方式為


IDWriteFontFace1::GetRecommendedRenderingMode 方法 (dwrite_1.h)

語法

HRESULT GetRecommendedRenderingMode(
  FLOAT                    fontEmSize,
  FLOAT                    dpiX,
  FLOAT                    dpiY,
  DWRITE_MATRIX const      *transform,
  BOOL                     isSideways,
  DWRITE_OUTLINE_THRESHOLD outlineThreshold,
  DWRITE_MEASURING_MODE    measuringMode,
  DWRITE_RENDERING_MODE    *renderingMode
);

參數

fontEmSize

dpiX

dpiY

transform

isSideways

outlineThreshold

measuringMode

renderingMode

規格需求

需求
標頭 dwrite_1.h