DWRITE_COLOR_COMPOSITE_MODE enumeration (dwrite_3.h)
Defines constants that specify a composite mode for combining source and destination paint elements in a color glyph. These are taken from the W3C Compositing and Blending Level 1 specification.
Syntax
typedef enum DWRITE_COLOR_COMPOSITE_MODE {
DWRITE_COLOR_COMPOSITE_CLEAR,
DWRITE_COLOR_COMPOSITE_SRC,
DWRITE_COLOR_COMPOSITE_DEST,
DWRITE_COLOR_COMPOSITE_SRC_OVER,
DWRITE_COLOR_COMPOSITE_DEST_OVER,
DWRITE_COLOR_COMPOSITE_SRC_IN,
DWRITE_COLOR_COMPOSITE_DEST_IN,
DWRITE_COLOR_COMPOSITE_SRC_OUT,
DWRITE_COLOR_COMPOSITE_DEST_OUT,
DWRITE_COLOR_COMPOSITE_SRC_ATOP,
DWRITE_COLOR_COMPOSITE_DEST_ATOP,
DWRITE_COLOR_COMPOSITE_XOR,
DWRITE_COLOR_COMPOSITE_PLUS,
DWRITE_COLOR_COMPOSITE_SCREEN,
DWRITE_COLOR_COMPOSITE_OVERLAY,
DWRITE_COLOR_COMPOSITE_DARKEN,
DWRITE_COLOR_COMPOSITE_LIGHTEN,
DWRITE_COLOR_COMPOSITE_COLOR_DODGE,
DWRITE_COLOR_COMPOSITE_COLOR_BURN,
DWRITE_COLOR_COMPOSITE_HARD_LIGHT,
DWRITE_COLOR_COMPOSITE_SOFT_LIGHT,
DWRITE_COLOR_COMPOSITE_DIFFERENCE,
DWRITE_COLOR_COMPOSITE_EXCLUSION,
DWRITE_COLOR_COMPOSITE_MULTIPLY,
DWRITE_COLOR_COMPOSITE_HSL_HUE,
DWRITE_COLOR_COMPOSITE_HSL_SATURATION,
DWRITE_COLOR_COMPOSITE_HSL_COLOR,
DWRITE_COLOR_COMPOSITE_HSL_LUMINOSITY
} ;
Constants
DWRITE_COLOR_COMPOSITE_CLEAR One of the Porter-Duff modes. |
DWRITE_COLOR_COMPOSITE_SRC One of the Porter-Duff modes. |
DWRITE_COLOR_COMPOSITE_DEST One of the Porter-Duff modes. |
DWRITE_COLOR_COMPOSITE_SRC_OVER One of the Porter-Duff modes. |
DWRITE_COLOR_COMPOSITE_DEST_OVER One of the Porter-Duff modes. |
DWRITE_COLOR_COMPOSITE_SRC_IN One of the Porter-Duff modes. |
DWRITE_COLOR_COMPOSITE_DEST_IN One of the Porter-Duff modes. |
DWRITE_COLOR_COMPOSITE_SRC_OUT One of the Porter-Duff modes. |
DWRITE_COLOR_COMPOSITE_DEST_OUT One of the Porter-Duff modes. |
DWRITE_COLOR_COMPOSITE_SRC_ATOP One of the Porter-Duff modes. |
DWRITE_COLOR_COMPOSITE_DEST_ATOP One of the Porter-Duff modes. |
DWRITE_COLOR_COMPOSITE_XOR One of the Porter-Duff modes. |
DWRITE_COLOR_COMPOSITE_PLUS One of the Porter-Duff modes. |
DWRITE_COLOR_COMPOSITE_SCREEN One of the separable color blend modes. |
DWRITE_COLOR_COMPOSITE_OVERLAY One of the separable color blend modes. |
DWRITE_COLOR_COMPOSITE_DARKEN One of the separable color blend modes. |
DWRITE_COLOR_COMPOSITE_LIGHTEN One of the separable color blend modes. |
DWRITE_COLOR_COMPOSITE_COLOR_DODGE One of the separable color blend modes. |
DWRITE_COLOR_COMPOSITE_COLOR_BURN One of the separable color blend modes. |
DWRITE_COLOR_COMPOSITE_HARD_LIGHT One of the separable color blend modes. |
DWRITE_COLOR_COMPOSITE_SOFT_LIGHT One of the separable color blend modes. |
DWRITE_COLOR_COMPOSITE_DIFFERENCE One of the separable color blend modes. |
DWRITE_COLOR_COMPOSITE_EXCLUSION One of the separable color blend modes. |
DWRITE_COLOR_COMPOSITE_MULTIPLY One of the separable color blend modes. |
DWRITE_COLOR_COMPOSITE_HSL_HUE One of the non-separable color blend modes. |
DWRITE_COLOR_COMPOSITE_HSL_SATURATION One of the non-separable color blend modes. |
DWRITE_COLOR_COMPOSITE_HSL_COLOR One of the non-separable color blend modes. |
DWRITE_COLOR_COMPOSITE_HSL_LUMINOSITY One of the non-separable color blend modes. |
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