[][src]Module directwrite::enums

Enumerations and bit-combining flag structures for DirectWrite.

Structs

FontFeatureTag
FontSimulations

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

FontWeight

Represents the density of a typeface, in terms of the lightness or heaviness of the strokes. The enumerated values correspond to the usWeightClass definition in the OpenType specification. The usWeightClass represents an integer value between 1 and 999. Lower values indicate lighter weights; higher values indicate heavier weights.

Enums

BreakCondition

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

FlowDirection

Indicates the direction of how lines of text are placed relative to one another.

FontFaceType

Indicates the file format of a complete font face.

FontFileType

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.

FontStretch

Represents the degree to which a font has been stretched compared to a font's normal aspect ratio.The enumerated values correspond to the usWidthClass definition in the OpenType specification. The usWidthClass represents an integer value between 1 and 9—lower values indicate narrower widths; higher values indicate wider widths.

FontStyle

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

InformationalStringId

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

LineSpacingMethod

The method used for line spacing in a text layout.

MeasuringMode

Indicates the measuring method used for text layout.

NumberSubstitutionMethod

How to apply number substitution on digits and related punctuation.

ParagraphAlignment

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

PixelGeometry

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.

ReadingDirection

Specifies the direction in which reading progresses.

RenderingMode

Represents a method of rendering glyphs.

TextAlignment

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

TrimmingGranularity

Text granularity used to trim text overflowing the layout box.

WordWrapping

Specifies the word wrapping to be used in a particular multiline paragraph.