DWRITE_PAINT_TYPE enumeration (dwrite_3.h)
Defines constants that specify a type of paint element in a color glyph. A color glyph's visual representation is defined by a tree of paint elements. A paint element's properties are specified by a DWRITE_PAINT_ELEMENT structure, which combines a paint type an a union.
Syntax
typedef enum DWRITE_PAINT_TYPE {
DWRITE_PAINT_TYPE_NONE,
DWRITE_PAINT_TYPE_LAYERS,
DWRITE_PAINT_TYPE_SOLID_GLYPH,
DWRITE_PAINT_TYPE_SOLID,
DWRITE_PAINT_TYPE_LINEAR_GRADIENT,
DWRITE_PAINT_TYPE_RADIAL_GRADIENT,
DWRITE_PAINT_TYPE_SWEEP_GRADIENT,
DWRITE_PAINT_TYPE_GLYPH,
DWRITE_PAINT_TYPE_COLOR_GLYPH,
DWRITE_PAINT_TYPE_TRANSFORM,
DWRITE_PAINT_TYPE_COMPOSITE
} ;
Constants
DWRITE_PAINT_TYPE_NONE Specifies no rendering action. Can be returned for color feature levels greater than or equal to DWRITE_PAINT_FEATURE_LEVEL_COLR_V0. |
DWRITE_PAINT_TYPE_LAYERS Specifies a rendering action of rendering the child paint elements in bottom-up order. Can be returned for color feature levels greater than or equal to DWRITE_PAINT_FEATURE_LEVEL_COLR_V0. |
DWRITE_PAINT_TYPE_SOLID_GLYPH Specifies a rendering action of filling the specified glyph shape with the specified color. Can be returned for color feature levels greater than or equal to DWRITE_PAINT_FEATURE_LEVEL_COLR_V0. |
DWRITE_PAINT_TYPE_SOLID Specifies a rendering action of filling the current clip with the specified color. Can be returned for color feature levels greater than or equal to DWRITE_PAINT_FEATURE_LEVEL_COLR_V1. |
DWRITE_PAINT_TYPE_LINEAR_GRADIENT Specifies a rendering action of filling the current clip with the specified gradient. Can be returned for color feature levels greater than or equal to DWRITE_PAINT_FEATURE_LEVEL_COLR_V1. |
DWRITE_PAINT_TYPE_RADIAL_GRADIENT Specifies a rendering action of filling the current clip with the specified gradient. Can be returned for color feature levels greater than or equal to DWRITE_PAINT_FEATURE_LEVEL_COLR_V1. |
DWRITE_PAINT_TYPE_SWEEP_GRADIENT Specifies a rendering action of filling the current clip with the specified gradient. Can be returned for color feature levels greater than or equal to DWRITE_PAINT_FEATURE_LEVEL_COLR_V1. |
DWRITE_PAINT_TYPE_GLYPH Specifies a rendering action of filling the specified glyph shape with child paint element. Can be returned for color feature levels greater than or equal to DWRITE_PAINT_FEATURE_LEVEL_COLR_V1. |
DWRITE_PAINT_TYPE_COLOR_GLYPH Specifies a rendering action of rendering the child paint element. Can be returned for color feature levels greater than or equal to DWRITE_PAINT_FEATURE_LEVEL_COLR_V1. |
DWRITE_PAINT_TYPE_TRANSFORM Specifies a rendering action of rendering the child paint element with the specified transform. Can be returned for color feature levels greater than or equal to DWRITE_PAINT_FEATURE_LEVEL_COLR_V1. |
DWRITE_PAINT_TYPE_COMPOSITE Specifies a rendering action of rendering the two child paint elements and compose them using the specified composite mode. Can be returned for color feature levels greater than or equal to DWRITE_PAINT_FEATURE_LEVEL_COLR_V1. |
Remarks
For more info about each paint type, see the DWRITE_PAINT_ELEMENT structure.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1809 (with Windows App SDK 1.2 or later) |
Header | dwrite_3.h |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for