DWRITE_PIXEL_GEOMETRY Enumeration

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_FLAT The red, green, and blue color components of each pixel are assumed to occupy the same point.
DWRITE_PIXEL_GEOMETRY_RGB Each 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_BGR Each pixel is composed of three vertical stripes, with blue on the left, green in the center, and red on the right.

Requirements

   
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