DWRITE_GLYPH_ORIENTATION_ANGLE enumeration (dwrite_1.h)

The DWRITE_GLYPH_ORIENTATION_ANGLE enumeration contains values that specify how the glyph is oriented to the x-axis.

Syntax

typedef enum DWRITE_GLYPH_ORIENTATION_ANGLE {
  DWRITE_GLYPH_ORIENTATION_ANGLE_0_DEGREES,
  DWRITE_GLYPH_ORIENTATION_ANGLE_90_DEGREES,
  DWRITE_GLYPH_ORIENTATION_ANGLE_180_DEGREES,
  DWRITE_GLYPH_ORIENTATION_ANGLE_270_DEGREES
} ;

Constants

 
DWRITE_GLYPH_ORIENTATION_ANGLE_0_DEGREES
Glyph orientation is upright.
DWRITE_GLYPH_ORIENTATION_ANGLE_90_DEGREES
Glyph orientation is rotated 90 degrees clockwise.
DWRITE_GLYPH_ORIENTATION_ANGLE_180_DEGREES
Glyph orientation is upside-down.
DWRITE_GLYPH_ORIENTATION_ANGLE_270_DEGREES
Glyph orientation is rotated 270 degrees clockwise.

Remarks

The text analyzer outputs DWRITE_GLYPH_ORIENTATION_ANGLE values. The value that it outputs depends on the desired orientation, bidi level, and character properties.

Requirements

Requirement Value
Minimum supported client Windows 8 and Platform Update for Windows 7 [desktop apps only]
Minimum supported server Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps only]
Header dwrite_1.h

See also

IDWriteTextAnalysisSink1::SetGlyphOrientation

IDWriteTextAnalyzer1::GetGlyphOrientationTransform