共用方式為


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 10 版本 1809 (Windows 應用程式 SDK 0.5 或更新版本)
標頭 dwrite_3.h