DWRITE_TEXTURE_TYPE enumeration
Identifies a type of alpha texture.
Syntax
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
|
Minimum supported client |
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|