Enumerations

DirectWrite defines the following enumerations.

In this section

TopicDescription

DWRITE_BASELINE

The DWRITE_BASELINE enumeration contains values that specify the baseline for text alignment.

DWRITE_BREAK_CONDITION

Indicates the condition at the edges of inline object or text used to determine line-breaking behavior.

DWRITE_FACTORY_TYPE

Specifies the type of DirectWrite factory object.

DWRITE_FLOW_DIRECTION

Indicates the direction of flow for placing lines of text in a paragraph.

DWRITE_FONT_FACE_TYPE

Indicates the file format of a complete font face.

DWRITE_FONT_FEATURE_TAG

A value that indicates the typographic feature of text supplied by the font.

DWRITE_FONT_FILE_TYPE

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.

DWRITE_FONT_SIMULATIONS

Specifies algorithmic style simulations to be applied to the font face. Bold and oblique simulations can be combined via bitwise OR operation.

DWRITE_FONT_STRETCH

Represents the degree to which a font has been stretched compared to a font's normal aspect ratio.

DWRITE_FONT_STYLE

Represents the style of a font face as normal, italic, or oblique.

DWRITE_FONT_WEIGHT

Represents the density of a typeface, in terms of the lightness or heaviness of the strokes.

DWRITE_GLYPH_ORIENTATION_ANGLE

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

DWRITE_INFORMATIONAL_STRING_ID

The informational string enumeration which identifies a string embedded in a font file.

DWRITE_LINE_SPACING_METHOD

The method used for line spacing in a text layout.

DWRITE_MEASURING_MODE

Indicates the measuring method used for text layout.

DWRITE_NUMBER_SUBSTITUTION_METHOD

Specifies how to apply number substitution on digits and related punctuation.

DWRITE_OPTICAL_ALIGNMENT

The optical margin alignment mode.

DWRITE_OUTLINE_THRESHOLD

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.

DWRITE_PANOSE_ARM_STYLE

The DWRITE_PANOSE_ARM_STYLE enumeration contains values that specify the style of termination of stems and rounded letterforms for text.

DWRITE_PANOSE_ASPECT

The DWRITE_PANOSE_ASPECT enumeration contains values that specify the ratio between the width and height of the character face.

DWRITE_PANOSE_ASPECT_RATIO

The DWRITE_PANOSE_ASPECT_RATIO enumeration contains values that specify info about the ratio between width and height of the character face.

DWRITE_PANOSE_CHARACTER_RANGES

The DWRITE_PANOSE_CHARACTER_RANGES enumeration contains values that specify the type of characters available in the font.

DWRITE_PANOSE_CONTRAST

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'.

DWRITE_PANOSE_DECORATIVE_CLASS

The DWRITE_PANOSE_DECORATIVE_CLASS enumeration contains values that specify the general look of the character face.

DWRITE_PANOSE_DECORATIVE_TOPOLOGY

The DWRITE_PANOSE_DECORATIVE_TOPOLOGY enumeration contains values that specify the overall shape characteristics of the font.

DWRITE_PANOSE_FAMILY

The DWRITE_PANOSE_FAMILY enumeration contains values that specify the kind of typeface classification.

DWRITE_PANOSE_FILL

The DWRITE_PANOSE_FILL enumeration contains values that specify the type of fill and line treatment.

DWRITE_PANOSE_FINIALS

The DWRITE_PANOSE_FINIALS enumeration contains values that specify how character ends and miniscule ascenders are treated.

DWRITE_PANOSE_LETTERFORM

The DWRITE_PANOSE_LETTERFORM enumeration contains values that specify the roundness of letterform for text.

DWRITE_PANOSE_LINING

The DWRITE_PANOSE_LINING enumeration contains values that specify the handling of the outline for the decorative typeface.

DWRITE_PANOSE_MIDLINE

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.

DWRITE_PANOSE_PROPORTION

The DWRITE_PANOSE_PROPORTION enumeration contains values that specify the proportion of the glyph shape by considering additional detail to standard characters.

DWRITE_PANOSE_SCRIPT_FORM

The DWRITE_PANOSE_SCRIPT_FORM enumeration contains values that specify the general look of the character face, with consideration of its slope and tails.

DWRITE_PANOSE_SCRIPT_TOPOLOGY

The DWRITE_PANOSE_SCRIPT_TOPOLOGY enumeration contains values that specify the topology of letterforms.

DWRITE_PANOSE_SERIF_STYLE

The DWRITE_PANOSE_SERIF_STYLE enumeration contains values that specify the appearance of the serif text.

DWRITE_PANOSE_SPACING

The DWRITE_PANOSE_SPACING enumeration contains values that specify character spacing (monospace versus proportional).

DWRITE_PANOSE_STROKE_VARIATION

The DWRITE_PANOSE_STROKE_VARIATION enumeration contains values that specify the relationship between thin and thick stems of text characters.

DWRITE_PANOSE_SYMBOL_ASPECT_RATIO

The DWRITE_PANOSE_SYMBOL_ASPECT_RATIO enumeration contains values that specify the aspect ratio of symbolic characters.

DWRITE_PANOSE_SYMBOL_KIND

The DWRITE_PANOSE_SYMBOL_KIND enumeration contains values that specify the kind of symbol set.

DWRITE_PANOSE_TOOL_KIND

The DWRITE_PANOSE_TOOL_KIND enumeration contains values that specify the kind of tool that is used to create character forms.

DWRITE_PANOSE_WEIGHT

The DWRITE_PANOSE_WEIGHT enumeration contains values that specify the weight of characters.

DWRITE_PANOSE_XASCENT

The DWRITE_PANOSE_XASCENT enumeration contains values that specify the relative size of the lowercase letters.

DWRITE_PANOSE_XHEIGHT

The DWRITE_PANOSE_XHEIGHT enumeration contains values that specify info about the relative size of lowercase letters and the treatment of diacritic marks (xheight).

DWRITE_PARAGRAPH_ALIGNMENT

Specifies the alignment of paragraph text along the flow direction axis, relative to the top and bottom of the flow's layout box.

DWRITE_PIXEL_GEOMETRY

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.

DWRITE_READING_DIRECTION

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.

DWRITE_RENDERING_MODE enumerations

Starting in Windows 8, the DWRITE_RENDERING_MODE enumeration added new enumeration values and deprecated others.

DWRITE_SCRIPT_SHAPES

Indicates additional shaping requirements for text.

DWRITE_TEXT_ALIGNMENT

Specifies the alignment of paragraph text along the reading direction axis, relative to the leading and trailing edge of the layout box.

DWRITE_TEXT_ANTIALIAS_MODE

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.

DWRITE_TEXTURE_TYPE

Identifies a type of alpha texture.

DWRITE_TRIMMING_GRANULARITY

Specifies the text granularity used to trim text overflowing the layout box.

DWRITE_VERTICAL_GLYPH_ORIENTATION

The DWRITE_VERTICAL_GLYPH_ORIENTATION enumeration contains values that specify the desired kind of glyph orientation for the text.

DWRITE_WORD_WRAPPING

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.

 

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.