共用方式為


IDWriteTextRenderer1::D rawStrikethrough 方法 (dwrite_2.h)

語法

HRESULT DrawStrikethrough(
  void                           *clientDrawingContext,
  FLOAT                          baselineOriginX,
  FLOAT                          baselineOriginY,
  DWRITE_GLYPH_ORIENTATION_ANGLE orientationAngle,
  DWRITE_STRIKETHROUGH const     *strikethrough,
  IUnknown                       *clientDrawingEffect
);

參數

clientDrawingContext

baselineOriginX

baselineOriginY

orientationAngle

strikethrough

clientDrawingEffect

規格需求

需求
標頭 dwrite_2.h