RetroArch
Public Attributes | List of all members
DWRITE_COLOR_GLYPH_RUN1 Struct Reference

Represents a color glyph run. The IDWriteFactory4::TranslateColorGlyphRun method returns an ordered collection of color glyph runs of varying types depending on what the font supports. More...

#include <dwrite_3.h>

Inheritance diagram for DWRITE_COLOR_GLYPH_RUN1:
[legend]
Collaboration diagram for DWRITE_COLOR_GLYPH_RUN1:
[legend]

Public Attributes

DWRITE_GLYPH_IMAGE_FORMATS glyphImageFormat
 Type of glyph image format for this color run. Exactly one type will be set since TranslateColorGlyphRun has already broken down the run into separate parts. More...
 
DWRITE_MEASURING_MODE measuringMode
 Measuring mode to use for this glyph run. More...
 
- Public Attributes inherited from DWRITE_COLOR_GLYPH_RUN
DWRITE_GLYPH_RUN glyphRun
 Glyph run to render. More...
 
_Maybenull_ DWRITE_GLYPH_RUN_DESCRIPTIONglyphRunDescription
 Optional glyph run description. More...
 
FLOAT baselineOriginX
 Location at which to draw this glyph run. More...
 
FLOAT baselineOriginY
 
DWRITE_COLOR_F runColor
 Color to use for this layer, if any. This is the same color that IDWriteFontFace2::GetPaletteEntries would return for the current palette index if the paletteIndex member is less than 0xFFFF. If the paletteIndex member is 0xFFFF then there is no associated palette entry, this member is set to { 0, 0, 0, 0 }, and the client should use the current foreground brush. More...
 
UINT16 paletteIndex
 Zero-based index of this layer's color entry in the current color palette, or 0xFFFF if this layer is to be rendered using the current foreground brush. More...
 

Detailed Description

Represents a color glyph run. The IDWriteFactory4::TranslateColorGlyphRun method returns an ordered collection of color glyph runs of varying types depending on what the font supports.

For runs without any specific color, such as PNG data, the runColor field will be zero.

Member Data Documentation

◆ glyphImageFormat

DWRITE_GLYPH_IMAGE_FORMATS DWRITE_COLOR_GLYPH_RUN1::glyphImageFormat

Type of glyph image format for this color run. Exactly one type will be set since TranslateColorGlyphRun has already broken down the run into separate parts.

◆ measuringMode

DWRITE_MEASURING_MODE DWRITE_COLOR_GLYPH_RUN1::measuringMode

Measuring mode to use for this glyph run.


The documentation for this struct was generated from the following file: