RetroArch
Public Attributes | List of all members
DWRITE_COLOR_GLYPH_RUN Struct Reference

The IDWriteFont interface represents a physical font in a font collection. More...

#include <dwrite_2.h>

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

Public Attributes

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

The IDWriteFont interface represents a physical font in a font collection.

The interface that represents an absolute reference to a font face. It contains font face type, appropriate file references and face identification data. Various font data such as metrics, names and glyph outlines is obtained from IDWriteFontFace.

Represents a color glyph run. The IDWriteFactory2::TranslateColorGlyphRun method returns an ordered collection of color glyph runs, which can be layered on top of each other to produce a color representation of the given base glyph run.

Member Data Documentation

◆ baselineOriginX

FLOAT DWRITE_COLOR_GLYPH_RUN::baselineOriginX

Location at which to draw this glyph run.

◆ baselineOriginY

FLOAT DWRITE_COLOR_GLYPH_RUN::baselineOriginY

◆ glyphRun

DWRITE_GLYPH_RUN DWRITE_COLOR_GLYPH_RUN::glyphRun

Glyph run to render.

◆ glyphRunDescription

_Maybenull_ DWRITE_GLYPH_RUN_DESCRIPTION* DWRITE_COLOR_GLYPH_RUN::glyphRunDescription

Optional glyph run description.

◆ paletteIndex

UINT16 DWRITE_COLOR_GLYPH_RUN::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.

◆ runColor

DWRITE_COLOR_F DWRITE_COLOR_GLYPH_RUN::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.


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