IDWriteFactory4::TranslateColorGlyphRun method (dwrite_3.h)

Syntax

HRESULT TranslateColorGlyphRun(
  D2D1_POINT_2F                      baselineOrigin,
  DWRITE_GLYPH_RUN const             *glyphRun,
  DWRITE_GLYPH_RUN_DESCRIPTION const *glyphRunDescription,
  DWRITE_GLYPH_IMAGE_FORMATS         desiredGlyphImageFormats,
  DWRITE_MEASURING_MODE              measuringMode,
  DWRITE_MATRIX const                *worldAndDpiTransform,
  UINT32                             colorPaletteIndex,
  IDWriteColorGlyphRunEnumerator1    **colorLayers
);

Parameters

baselineOrigin

glyphRun

glyphRunDescription

desiredGlyphImageFormats

measuringMode

worldAndDpiTransform

colorPaletteIndex

colorLayers

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809 (with Windows App SDK 0.5 or later)
Header dwrite_3.h