Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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]

Header

Dwrite.h

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.