IDWriteFactory3::CreateCustomRenderingParams 方法 (dwrite_3.h)

语法

HRESULT CreateCustomRenderingParams(
  FLOAT                   gamma,
  FLOAT                   enhancedContrast,
  FLOAT                   grayscaleEnhancedContrast,
  FLOAT                   clearTypeLevel,
  DWRITE_PIXEL_GEOMETRY   pixelGeometry,
  DWRITE_RENDERING_MODE1  renderingMode,
  DWRITE_GRID_FIT_MODE    gridFitMode,
  IDWriteRenderingParams3 **renderingParams
);

参数

gamma

enhancedContrast

grayscaleEnhancedContrast

clearTypeLevel

pixelGeometry

renderingMode

gridFitMode

renderingParams

要求

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