Enumerations
DirectWrite defines the following enumerations.
In this section
| Topic | Description |
|---|---|
|
The DWRITE_BASELINE enumeration contains values that specify the baseline for text alignment. | |
|
Indicates the condition at the edges of inline object or text used to determine line-breaking behavior. | |
|
Specifies the container format of a font resource. A container format is distinct from a font file format (DWRITE_FONT_FILE_TYPE) because the container describes the container in which the underlying font file is packaged. | |
|
Specifies the type of DirectWrite factory object. | |
|
Indicates the direction of how lines of text are placed relative to one another. | |
|
Indicates the file format of a complete font face. | |
|
A value that indicates the typographic feature of text supplied by the font. | |
|
The type of a font represented by a single font file. Font formats that consist of multiple files, for example Type 1 .PFM and .PFB, have separate enum values for each of the file types. | |
|
Specify whether DWRITE_FONT_METRICS::lineGap value should be part of the line metrics | |
|
Identifies a string in a font. | |
|
Specifies algorithmic style simulations to be applied to the font face. Bold and oblique simulations can be combined via bitwise OR operation. | |
|
Represents the degree to which a font has been stretched compared to a font's normal aspect ratio. | |
|
Represents the style of a font face as normal, italic, or oblique. | |
|
Represents the density of a typeface, in terms of the lightness or heaviness of the strokes. | |
|
Specifies which formats are supported in the font, either at a font-wide level or per glyph. | |
|
The DWRITE_GLYPH_ORIENTATION_ANGLE enumeration contains values that specify how the glyph is oriented to the x-axis. | |
|
Specifies whether to enable grid-fitting of glyph outlines (also known as hinting). | |
|
The informational string enumeration which identifies a string embedded in a font file. | |
|
The method used for line spacing in a text layout. | |
|
Specifies the location of a resource. | |
|
Indicates the measuring method used for text layout. | |
|
Specifies how to apply number substitution on digits and related punctuation. | |
|
The optical margin alignment mode. | |
|
The DWRITE_OUTLINE_THRESHOLD enumeration contains values that specify the policy used by the IDWriteFontFace1::GetRecommendedRenderingMode method to determine whether to render glyphs in outline mode. | |
|
The DWRITE_PANOSE_ARM_STYLE enumeration contains values that specify the style of termination of stems and rounded letterforms for text. | |
|
The DWRITE_PANOSE_ASPECT enumeration contains values that specify the ratio between the width and height of the character face. | |
|
The DWRITE_PANOSE_ASPECT_RATIO enumeration contains values that specify info about the ratio between width and height of the character face. | |
|
The DWRITE_PANOSE_CHARACTER_RANGES enumeration contains values that specify the type of characters available in the font. | |
|
The DWRITE_PANOSE_CONTRAST enumeration contains values that specify the ratio between thickest and thinnest point of the stroke for a letter such as uppercase 'O'. | |
|
The DWRITE_PANOSE_DECORATIVE_CLASS enumeration contains values that specify the general look of the character face. | |
|
The DWRITE_PANOSE_DECORATIVE_TOPOLOGY enumeration contains values that specify the overall shape characteristics of the font. | |
|
The DWRITE_PANOSE_FAMILY enumeration contains values that specify the kind of typeface classification. | |
|
The DWRITE_PANOSE_FILL enumeration contains values that specify the type of fill and line treatment. | |
|
The DWRITE_PANOSE_FINIALS enumeration contains values that specify how character ends and miniscule ascenders are treated. | |
|
The DWRITE_PANOSE_LETTERFORM enumeration contains values that specify the roundness of letterform for text. | |
|
The DWRITE_PANOSE_LINING enumeration contains values that specify the handling of the outline for the decorative typeface. | |
|
The DWRITE_PANOSE_MIDLINE enumeration contains values that specify info about the placement of midline across uppercase characters and the treatment of diagonal stem apexes. | |
|
The DWRITE_PANOSE_PROPORTION enumeration contains values that specify the proportion of the glyph shape by considering additional detail to standard characters. | |
|
The DWRITE_PANOSE_SCRIPT_FORM enumeration contains values that specify the general look of the character face, with consideration of its slope and tails. | |
|
The DWRITE_PANOSE_SCRIPT_TOPOLOGY enumeration contains values that specify the topology of letterforms. | |
|
The DWRITE_PANOSE_SERIF_STYLE enumeration contains values that specify the appearance of the serif text. | |
|
The DWRITE_PANOSE_SPACING enumeration contains values that specify character spacing (monospace versus proportional). | |
|
The DWRITE_PANOSE_STROKE_VARIATION enumeration contains values that specify the relationship between thin and thick stems of text characters. | |
|
The DWRITE_PANOSE_SYMBOL_ASPECT_RATIO enumeration contains values that specify the aspect ratio of symbolic characters. | |
|
The DWRITE_PANOSE_SYMBOL_KIND enumeration contains values that specify the kind of symbol set. | |
|
The DWRITE_PANOSE_TOOL_KIND enumeration contains values that specify the kind of tool that is used to create character forms. | |
|
The DWRITE_PANOSE_WEIGHT enumeration contains values that specify the weight of characters. | |
|
The DWRITE_PANOSE_XASCENT enumeration contains values that specify the relative size of the lowercase letters. | |
|
The DWRITE_PANOSE_XHEIGHT enumeration contains values that specify info about the relative size of lowercase letters and the treatment of diacritic marks (xheight). | |
|
Specifies the alignment of paragraph text along the flow direction axis, relative to the top and bottom of the flow's layout box. | |
|
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. | |
|
Specifies the direction in which reading progresses. Note DWRITE_READING_DIRECTION_TOP_TO_BOTTOM and DWRITE_READING_DIRECTION_BOTTOM_TO_TOP are available in Windows 8.1 and later, only.
| |
|
Starting in Windows 8, the DWRITE_RENDERING_MODE enumeration added new enumeration values and deprecated others. | |
|
Specifies how glyphs are rendered. | |
|
Indicates additional shaping requirements for text. | |
|
Specifies the alignment of paragraph text along the reading direction axis, relative to the leading and trailing edge of the layout box. | |
|
The DWRITE_TEXT_ANTIALIAS_MODE enumeration contains values that specify the type of antialiasing to use for text when the rendering mode calls for antialiasing. | |
|
Identifies a type of alpha texture. | |
|
Specifies the text granularity used to trim text overflowing the layout box. | |
|
The DWRITE_VERTICAL_GLYPH_ORIENTATION enumeration contains values that specify the desired kind of glyph orientation for the text. | |
|
Specifies the word wrapping to be used in a particular multiline paragraph. Note DWRITE_WORD_WRAPPING_EMERGENCY_BREAK, DWRITE_WORD_WRAPPING_WHOLE _WORD, and DWRITE_WORD_WRAPPING_CHARACTER are available in Windows 8.1 and later, only.
|