DWRITE_PAINT_ATTRIBUTES enumeration (dwrite_3.h)

Defines constants that specify (as combinable flags) attributes of a color glyph, or of specific color values in a color glyph.

Syntax

typedef enum DWRITE_PAINT_ATTRIBUTES {
  DWRITE_PAINT_ATTRIBUTES_NONE = 0,
  DWRITE_PAINT_ATTRIBUTES_USES_PALETTE = 0x01,
  DWRITE_PAINT_ATTRIBUTES_USES_TEXT_COLOR = 0x02
} ;

Constants

 
DWRITE_PAINT_ATTRIBUTES_NONE
Value: 0
Specifies no attribute.
DWRITE_PAINT_ATTRIBUTES_USES_PALETTE
Value: 0x01
Specifies that the color value (or any color value in the glyph) comes from the font's color palette. This means that the appearance might depend on the current palette index, which might be important to clients that cache color glyphs.
DWRITE_PAINT_ATTRIBUTES_USES_TEXT_COLOR
Value: 0x02
Specifies that the color value (or any color value in the glyph) comes from the client-specified text color. This means the appearance might depend on the text color, which might be important to clients that cache color glyphs.

Requirements

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