IDWriteFactory2::CreateCustomRenderingParams 方法 (dwrite_2.h)

语法

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

参数

gamma

enhancedContrast

grayscaleEnhancedContrast

clearTypeLevel

pixelGeometry

renderingMode

gridFitMode

renderingParams

要求

要求
Header dwrite_2.h