Namespace JeremyAnsel.DirectX.DWrite
Classes
DWriteError
DWrite error codes.
DWriteFactory
The root factory interface for all DWrite objects.
DWriteFont
The IDWriteFont interface represents a physical font in a font collection.
DWriteFontCollection
The DWriteFontCollection encapsulates a collection of fonts.
DWriteFontFace
The interface that represents an absolute reference to a font face. It contains font face type, appropriate file references and face identification data. Various font data such as metrics, names and glyph outlines is obtained from IDWriteFontFace.
DWriteFontFamily
The IDWriteFontFamily interface represents a set of fonts that share the same design but are differentiated by weight, stretch, and style.
DWriteFontFile
The interface that represents a reference to a font file.
DWriteFontList
The IDWriteFontList interface represents a list of fonts.
DWriteLocalizedStrings
Represents a collection of strings indexed by locale name.
DWriteRenderingParams
The interface that represents text rendering settings for glyph rasterization and filtering.
DWriteTextFormat
The format of text used for text layout.
DWriteTextLayout
The IDWriteTextLayout interface represents a block of text after it has been fully analyzed and formatted. All coordinates are in device independent pixels (DIPs).
DWriteTypography
Font typography setting.
DWriteUtils
Utility methods.
Structs
DWriteClusterMetrics
The DWRITE_CLUSTER_METRICS structure contains information about a glyph cluster.
DWriteFontFeature
The DWRITE_FONT_FEATURE structure specifies properties used to identify and execute typographic feature in the font.
DWriteFontMetrics
The DWRITE_FONT_METRICS structure specifies the metrics of a font face that are applicable to all glyphs within the font face.
DWriteGlyphMetrics
The DWRITE_GLYPH_METRICS structure specifies the metrics of an individual glyph. The units depend on how the metrics are obtained.
DWriteGlyphOffset
Optional adjustment to a glyph's position. A glyph offset changes the position of a glyph without affecting the pen position. Offsets are in logical, pre-transform units.
DWriteGlyphRun
The DWRITE_GLYPH_RUN structure contains the information needed by renderers to draw glyph runs. All coordinates are in device independent pixels (DIPs).
DWriteGlyphRunDescription
The DWRITE_GLYPH_RUN_DESCRIPTION structure contains additional properties related to those in DWRITE_GLYPH_RUN.
DWriteHitTestMetrics
Geometry enclosing of text positions.
DWriteInlineObjectMetrics
Properties describing the geometric measurement of an application-defined inline object.
DWriteLineBreakpoint
Line breakpoint characteristics of a character.
DWriteLineMetrics
The DWRITE_LINE_METRICS structure contains information about a formatted line of text.
DWriteMatrix
The DWRITE_MATRIX structure specifies the graphics transform to be applied to rendered glyphs.
DWriteOverhangMetrics
The DWRITE_OVERHANG_METRICS structure holds how much any visible pixels (in DIPs) overshoot each side of the layout or inline objects.
DWriteRect
Defines the coordinates of the upper-left and lower-right corners of a rectangle.
DWriteScriptAnalysis
Association of text and its writing system script as well as some display attributes.
DWriteShapingGlyphProperties
Shaping output properties per output glyph.
DWriteShapingTextProperties
Shaping output properties per input character.
DWriteSize
Specifies the width and height of a rectangle.
DWriteStrikethrough
The DWRITE_STRIKETHROUGH structure contains information about the size and placement of strikethroughs. All coordinates are in device independent pixels (DIPs).
DWriteTextMetrics
Overall metrics associated with text after layout. All coordinates are in device independent pixels (DIPs).
DWriteTextRange
The DWRITE_TEXT_RANGE structure specifies a range of text positions where format is applied.
DWriteTrimming
The DWRITE_TRIMMING structure specifies the trimming option for text overflowing the layout box.
DWriteUnderline
The DWRITE_UNDERLINE structure contains information about the size and placement of underlines. All coordinates are in device independent pixels (DIPs).
Interfaces
IDWriteReleasable
Defines a method to release the managed reference to the COM interface.
Enums
DWriteBreakCondition
Condition at the edges of inline object or text used to determine line-breaking behavior.
DWriteFactoryType
Specifies the type of DirectWrite factory object. DirectWrite factory contains internal state such as font loader registration and cached font data. In most cases it is recommended to use the shared factory object, because it allows multiple components that use DirectWrite to share internal DirectWrite state and reduce memory usage. However, there are cases when it is desirable to reduce the impact of a component, such as a plug-in from an untrusted source, on the rest of the process by sandboxing and isolating it from the rest of the process components. In such cases, it is recommended to use an isolated factory for the sandboxed component.
DWriteFlowDirection
Direction for how lines of text are placed relative to one another.
DWriteFontFaceType
The file format of a complete font face. Font formats that consist of multiple files a single entry.
DWriteFontFeatureTag
Typographic feature of text supplied by the font.
DWriteFontFileType
The type of a font represented by a single font file. Font formats that consist of multiple files, e.g. Type 1 .PFM and .PFB, have separate values for each of the file type.
DWriteFontSimulations
Specifies algorithmic style simulations to be applied to the font face. Bold and oblique simulations can be combined via bitwise OR operation.
DWriteFontStretch
The font stretch enumeration describes relative change from the normal aspect ratio as specified by a font designer for the glyphs in a font. Values less than 1 or greater than 9 are considered to be invalid, and they are rejected by font API functions.
DWriteFontStyle
The font style enumeration describes the slope style of a font face, such as Normal, Italic or Oblique. Values other than the ones defined in the enumeration are considered to be invalid, and they are rejected by font API functions.
DWriteFontWeight
The font weight enumeration describes common values for degree of blackness or thickness of strokes of characters in a font. Font weight values less than 1 or greater than 999 are considered to be invalid, and they are rejected by font API functions.
DWriteInformationalStringId
The informational string enumeration identifies a string in a font.
DWriteLineSpacingMethod
The method used for line spacing in layout.
DWriteMeasuringMode
The measuring method used for text layout.
DWriteNumberSubstitutionMethod
How to apply number substitution on digits and related punctuation.
DWriteParagraphAlignment
Alignment of paragraph text along the flow direction axis relative to the flow's beginning and ending edge of the layout box.
DWritePixelGeometry
Represents the internal structure of a device pixel (i.e., the physical arrangement of red, green, and blue color components) that is assumed for purposes of rendering text.
DWriteReadingDirection
Direction for how reading progresses.
DWriteRenderingMode
Represents a method of rendering glyphs.
DWriteScriptShape
Indicates additional shaping requirements for text.
DWriteTextAlignment
Alignment of paragraph text along the reading direction axis relative to the leading and trailing edge of the layout box.
DWriteTextureType
Identifies a type of alpha texture. An alpha texture is a bitmap of alpha values, each representing the darkness (i.e., opacity) of a pixel or subpixel.
DWriteTrimmingGranularity
Text granularity used to trim text overflowing the layout box.
DWriteWordWrapping
Word wrapping in multiline paragraph.