DWRITE_TEXTURE_TYPE enumeration (dwrite.h)
Identifies a type of alpha texture.
Syntax
typedef enum DWRITE_TEXTURE_TYPE {
DWRITE_TEXTURE_ALIASED_1x1,
DWRITE_TEXTURE_CLEARTYPE_3x1
} ;
Constants
DWRITE_TEXTURE_ALIASED_1x1 Specifies an alpha texture for aliased text rendering (that is, each pixel is either fully opaque or fully transparent), with one byte per pixel. |
DWRITE_TEXTURE_CLEARTYPE_3x1 Specifies an alpha texture for ClearType text rendering, with three bytes per pixel in the horizontal dimension and one byte per pixel in the vertical dimension. |
Remarks
An alpha texture is a bitmap of alpha values, each representing opacity of a pixel or subpixel.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps] |
Header | dwrite.h |