Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Represents the internal structure of a device pixel (that is, the physical arrangement of red, green, and blue color components) that is assumed for purposes of rendering text.
Syntax
typedef enum DWRITE_PIXEL_GEOMETRY {
DWRITE_PIXEL_GEOMETRY_FLAT,
DWRITE_PIXEL_GEOMETRY_RGB,
DWRITE_PIXEL_GEOMETRY_BGR
} ;
Constants
DWRITE_PIXEL_GEOMETRY_FLATThe red, green, and blue color components of each pixel are assumed to occupy the same point. |
DWRITE_PIXEL_GEOMETRY_RGBEach pixel is composed of three vertical stripes, with red on the left, green in the center, and blue on the right. This is the most common pixel geometry for LCD monitors. |
DWRITE_PIXEL_GEOMETRY_BGREach pixel is composed of three vertical stripes, with blue on the left, green in the center, and red on the right. |
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 |