IDWriteFontFace3::GetRecommendedRenderingMode 方法 (dwrite_3.h)

语法

HRESULT GetRecommendedRenderingMode(
  FLOAT                    fontEmSize,
  FLOAT                    dpiX,
  FLOAT                    dpiY,
  DWRITE_MATRIX const      *transform,
  BOOL                     isSideways,
  DWRITE_OUTLINE_THRESHOLD outlineThreshold,
  DWRITE_MEASURING_MODE    measuringMode,
  IDWriteRenderingParams   *renderingParams,
  DWRITE_RENDERING_MODE1   *renderingMode,
  DWRITE_GRID_FIT_MODE     *gridFitMode
);

参数

fontEmSize

dpiX

dpiY

transform

isSideways

outlineThreshold

measuringMode

renderingParams

renderingMode

gridFitMode

要求

要求
最低受支持的客户端 Windows 应用 SDK 0.5 或更高版本的Windows 10 版本 1809 ()
标头 dwrite_3.h