| layout | wiki |
|---|---|
| title | DirectWrite API |
This page is automatically generated from the assembly documentation.
It provides links between managed types and methods in the
SharpDX.Direct2D1assembly and the original documentation of theDirectWriteAPI on MSDN.
Today's applications must support high-quality text rendering, resolution-independent outline fonts, and full Unicode text and layout support.
| Managed | Native |
|---|---|
Baseline |
DWRITE_BASELINEThe enumeration contains values that specify the baseline for text alignment. |
BreakCondition |
DWRITE_BREAK_CONDITIONIndicates the condition at the edges of inline object or text used to determine line-breaking behavior. |
FactoryType |
DWRITE_FACTORY_TYPESpecifies the type of DirectWrite factory object. |
FlowDirection |
DWRITE_FLOW_DIRECTIONIndicates the direction of flow for placing lines of text in a paragraph. |
FontFaceType |
DWRITE_FONT_FACE_TYPEIndicates the file format of a complete font face. |
FontFeatureTag |
DWRITE_FONT_FEATURE_TAGA value that indicates the typographic feature of text supplied by the font. |
FontFileType |
DWRITE_FONT_FILE_TYPEThe type of a font represented by a single font file. |
FontSimulations |
DWRITE_FONT_SIMULATIONSSpecifies algorithmic style simulations to be applied to the font face. |
FontStretch |
DWRITE_FONT_STRETCHRepresents the degree to which a font has been stretched compared to a font's normal aspect ratio. |
FontStyle |
DWRITE_FONT_STYLERepresents the style of a font face as normal, italic, or oblique. |
FontWeight |
DWRITE_FONT_WEIGHTRepresents the density of a typeface, in terms of the lightness or heaviness of the strokes. |
GlyphOrientationAngle |
DWRITE_GLYPH_ORIENTATION_ANGLEThe enumeration contains values that specify how the glyph is oriented to the x-axis. |
InformationalStringId |
DWRITE_INFORMATIONAL_STRING_IDThe informational string enumeration which identifies a string embedded in a font file. |
LineSpacingMethod |
DWRITE_LINE_SPACING_METHODThe method used for line spacing in a text layout. |
NumberSubstitutionMethod |
DWRITE_NUMBER_SUBSTITUTION_METHODSpecifies how to apply number substitution on digits and related punctuation. |
OutlineThreshold |
DWRITE_OUTLINE_THRESHOLDThe enumeration contains values that specify the policy used by the method to determine whether to render glyphs in outline mode. |
PanoseArmStyle |
DWRITE_PANOSE_ARM_STYLEThe enumeration contains values that specify the style of termination of stems and rounded letterforms for text. |
PanoseAspect |
DWRITE_PANOSE_ASPECTThe enumeration contains values that specify info about the ratio between width and height of the character face. |
PanoseAspectRatio |
DWRITE_PANOSE_ASPECT_RATIOThe enumeration contains values that specify info about the ratio between width and height of the character face. |
PanoseCharacterRanges |
DWRITE_PANOSE_CHARACTER_RANGESThe enumeration contains values that specify the type of characters available in the font. |
PanoseContrast |
DWRITE_PANOSE_CONTRASTThe enumeration contains values that specify the ratio between thickest and thinnest point of the stroke for a letter such as uppercase 'O'. |
PanoseDecorativeClass |
DWRITE_PANOSE_DECORATIVE_CLASSThe enumeration contains values that specify the general look of the character face. |
PanoseDecorativeTopology |
DWRITE_PANOSE_DECORATIVE_TOPOLOGYThe enumeration contains values that specify the overall shape characteristics of the font. |
PanoseFamily |
DWRITE_PANOSE_FAMILYThe enumeration contains values that specify the kind of typeface classification. |
PanoseFill |
DWRITE_PANOSE_FILLThe enumeration contains values that specify the type of fill and line treatment. |
PanoseFinials |
DWRITE_PANOSE_FINIALSThe enumeration contains values that specify how character ends and miniscule ascenders are treated. |
PanoseLetterform |
DWRITE_PANOSE_LETTERFORMThe enumeration contains values that specify the roundness of letterform for text. |
PanoseLining |
DWRITE_PANOSE_LININGThe enumeration contains values that specify the handling of the outline for the decorative typeface. |
PanoseMidline |
DWRITE_PANOSE_MIDLINEThe enumeration contains values that specify info about the placement of midline across uppercase characters and the treatment of diagonal stem apexes. |
PanoseProportion |
DWRITE_PANOSE_PROPORTIONThe enumeration contains values that specify the proportion of the glyph shape by considering additional detail to standard characters. |
PanoseScriptForm |
DWRITE_PANOSE_SCRIPT_FORMThe enumeration contains values that specify the general look of the character face, with consideration of its slope and tails. |
PanoseScriptTopology |
DWRITE_PANOSE_SCRIPT_TOPOLOGYThe enumeration contains values that specify the topology of letterforms. |
PanoseSerifStyle |
DWRITE_PANOSE_SERIF_STYLEThe enumeration contains values that specify the appearance of the serif text. |
PanoseSpacing |
DWRITE_PANOSE_SPACINGThe enumeration contains values that specify character spacing (monospace versus proportional). |
PanoseStrokeVariation |
DWRITE_PANOSE_STROKE_VARIATIONThe enumeration contains values that specify the relationship between thin and thick stems of text characters. |
PanoseSymbolAspectRatio |
DWRITE_PANOSE_SYMBOL_ASPECT_RATIOThe enumeration contains values that specify the aspect ratio of symbolic characters. |
PanoseSymbolKind |
DWRITE_PANOSE_SYMBOL_KINDThe enumeration contains values that specify the kind of symbol set. |
PanoseToolKind |
DWRITE_PANOSE_TOOL_KINDThe enumeration contains values that specify the kind of tool that is used to create character forms. |
PanoseWeight |
DWRITE_PANOSE_WEIGHTThe enumeration contains values that specify the weight of characters. |
PanoseXascent |
DWRITE_PANOSE_XASCENTThe enumeration contains values that specify the relative size of the lowercase letters. |
PanoseXheight |
DWRITE_PANOSE_XHEIGHTThe enumeration contains values that specify info about the relative size of lowercase letters and the treatment of diacritic marks (xheight). |
ParagraphAlignment |
DWRITE_PARAGRAPH_ALIGNMENTSpecifies the alignment of paragraph text along the flow direction axis, relative to the top and bottom of the flow's layout box. |
PixelGeometry |
DWRITE_PIXEL_GEOMETRYRepresents 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 |
DWRITE_READING_DIRECTIONSpecifies the direction in which reading progresses. |
RenderingMode |
DWRITE_RENDERING_MODERepresents a method of rendering glyphs. |
ScriptShapes |
DWRITE_SCRIPT_SHAPESIndicates additional shaping requirements for text. |
TextAlignment |
DWRITE_TEXT_ALIGNMENTSpecifies the alignment of paragraph text along the reading direction axis, relative to the leading and trailing edge of the layout box. |
TextAntialiasMode |
DWRITE_TEXT_ANTIALIAS_MODEThe enumeration contains values that specify the type of antialiasing to use for text when the rendering mode calls for antialiasing. |
TextureType |
DWRITE_TEXTURE_TYPEIdentifies a type of alpha texture. |
TrimmingGranularity |
DWRITE_TRIMMING_GRANULARITYSpecifies the text granularity used to trim text overflowing the layout box. |
VerticalGlyphOrientation |
DWRITE_VERTICAL_GLYPH_ORIENTATIONThe enumeration contains values that specify the desired kind of glyph orientation for the text. |
WordWrapping |
DWRITE_WORD_WRAPPINGSpecifies the word wrapping to be used in a particular multiline paragraph. |
| Managed | Native |
|---|---|
CaretMetrics |
DWRITE_CARET_METRICSThe structure specifies the metrics for caret placement in a font. |
ClusterMetrics |
DWRITE_CLUSTER_METRICSContains information about a glyph cluster. |
FontCollectionLoader |
IDWriteFontCollectionLoaderUsed to construct a collection of fonts given a particular type of key. |
FontFeature |
DWRITE_FONT_FEATURESpecifies properties used to identify and execute typographic features in the current font face. |
FontFileEnumerator |
IDWriteFontFileEnumeratorEncapsulates a collection of font files. |
FontFileLoader |
IDWriteFontFileLoaderHandles loading font file resources of a particular type from a font file reference key into a font file stream object. |
FontFileStream |
IDWriteFontFileStreamLoads font file data from a custom font file loader. |
FontMetrics |
DWRITE_FONT_METRICSThe structure specifies the metrics that are applicable to all glyphs within the font face. |
FontMetrics1 |
DWRITE_FONT_METRICS1The structure specifies the metrics that are applicable to all glyphs within the font face. |
GlyphMetrics |
DWRITE_GLYPH_METRICSSpecifies the metrics of an individual glyph. |
GlyphOffset |
DWRITE_GLYPH_OFFSETThe optional adjustment to a glyph's position. |
GlyphRun |
DWRITE_GLYPH_RUNContains the information needed by renderers to draw glyph runs. |
GlyphRunDescription |
DWRITE_GLYPH_RUN_DESCRIPTIONContains additional properties related to those in . |
HitTestMetrics |
DWRITE_HIT_TEST_METRICSDescribes the region obtained by a hit test. |
InlineObject |
IDWriteInlineObjectWraps an application-defined inline graphic, allowing DWrite to query metrics as if the graphic were a glyph inline with the text. |
InlineObjectMetrics |
DWRITE_INLINE_OBJECT_METRICSContains properties describing the geometric measurement of an application-defined inline object. |
JustificationOpportunity |
DWRITE_JUSTIFICATION_OPPORTUNITYThe structure specifies justification info per glyph. |
LineBreakpoint |
DWRITE_LINE_BREAKPOINTLine breakpoint characteristics of a character. |
LineMetrics |
DWRITE_LINE_METRICSContains information about a formatted line of text. |
OverhangMetrics |
DWRITE_OVERHANG_METRICSIndicates how much any visible DIPs (device independent pixels) overshoot each side of the layout or inline objects. |
Panose |
DWRITE_PANOSEThe enumeration contains values that specify the type of characters available in the font. |
PanoseDecorative |
DWRITE_PANOSE_INNER_2The enumeration contains values that specify the type of characters available in the font. |
PanoseScript |
DWRITE_PANOSE_INNER_1The enumeration contains values that specify the type of characters available in the font. |
PanoseSymbol |
DWRITE_PANOSE_INNER_3The enumeration contains values that specify the type of characters available in the font. |
PanoseText |
DWRITE_PANOSE_INNER_0The enumeration contains values that specify the type of characters available in the font. |
PixelSnapping |
IDWritePixelSnappingDefines the pixel snapping properties such as pixels per DIP(device-independent pixel) and the current transform matrix of a text renderer. |
ScriptAnalysis |
DWRITE_SCRIPT_ANALYSISStores the association of text and its writing system script, as well as some display attributes. |
ScriptProperties |
DWRITE_SCRIPT_PROPERTIESThe structure specifies script properties for caret navigation and justification. |
ShapingGlyphProperties |
DWRITE_SHAPING_GLYPH_PROPERTIESContains shaping output properties for an output glyph. |
ShapingTextProperties |
DWRITE_SHAPING_TEXT_PROPERTIESShaping output properties for an output glyph. |
Strikethrough |
DWRITE_STRIKETHROUGHContains information regarding the size and placement of strikethroughs. |
TextAnalysisSink |
IDWriteTextAnalysisSinkThis interface is implemented by the text analyzer's client to receive the output of a given text analysis. |
TextAnalysisSink1 |
IDWriteTextAnalysisSink1The interface you implement to receive the output of the text analyzers. |
TextAnalysisSource |
IDWriteTextAnalysisSourceImplemented by the text analyzer's client to provide text to the analyzer. |
TextAnalysisSource1 |
IDWriteTextAnalysisSource1The interface you implement to provide needed information to the text analyzer, like the text and associated text properties. |
TextMetrics |
DWRITE_TEXT_METRICSContains the metrics associated with text after layout. |
TextRange |
DWRITE_TEXT_RANGESpecifies a range of text positions where format is applied in the text represented by an object. |
TextRenderer |
IDWriteTextRendererRepresents a set of application-defined callbacks that perform rendering of text, inline objects, and decorations such as underlines. |
Trimming |
DWRITE_TRIMMINGSpecifies the trimming option for text overflowing the layout box. |
Underline |
DWRITE_UNDERLINEContains information about the width, thickness, offset, run height, reading direction, and flow direction of an underline. |
UnicodeRange |
DWRITE_UNICODE_RANGEThe structure specifies the range of Unicode code points. |
| Managed | Native |
|---|---|
BitmapRenderTarget
|
IDWriteBitmapRenderTargetEncapsulates a 32-bit device independent bitmap and device context, which can be used for rendering glyphs. |
BitmapRenderTarget1
|
IDWriteBitmapRenderTarget1Encapsulates a 32-bit device independent bitmap and device context, which you can use for rendering glyphs. |
Factory
|
IDWriteFactory
Used to create all subsequent DirectWrite objects. |
Factory1
|
IDWriteFactory1Creates a rendering parameters object with the specified properties. |
Font
|
IDWriteFont
Represents a physical font in a font collection. |
Font1
|
IDWriteFont1Represents a physical font in a font collection. |
FontCollection
|
IDWriteFontCollectionAn object that encapsulates a set of fonts, such as the set of fonts installed on the system, or the set of fonts in a particular directory. |
FontFace
|
IDWriteFontFace
Represents an absolute reference to a font face which contains font face type, appropriate file references, face identification data and various font data such as metrics, names and glyph outlines. |
FontFace1
|
IDWriteFontFace1
Represents an absolute reference to a font face. |
FontFamily
|
IDWriteFontFamilyCreates a localized strings object that contains the family names for the font family, indexed by locale name. |
FontFile
|
IDWriteFontFile
Represents a font file. |
FontFileLoaderNative
|
IDWriteFontFileLoader
Handles loading font file resources of a particular type from a font file reference key into a font file stream object. |
FontFileStreamNative
|
IDWriteFontFileStream
Loads font file data from a custom font file loader. |
FontList
|
IDWriteFontListRepresents a list of fonts. |
GdiInterop
|
IDWriteGdiInteropProvides interoperability with GDI, such as methods to convert a font face to a structure, or to convert a GDI font description into a font face. |
GlyphRunAnalysis
|
IDWriteGlyphRunAnalysisContains low-level information used to render a glyph run. |
InlineObjectNative
|
IDWriteInlineObject
Wraps an application-defined inline graphic, allowing DWrite to query metrics as if the graphic were a glyph inline with the text. |
LocalFontFileLoader
|
IDWriteLocalFontFileLoaderA built-in implementation of the interface, that operates on local font files and exposes local font file information from the font file reference key. |
LocalizedStrings
|
IDWriteLocalizedStrings
Represents a collection of strings indexed by locale name. |
NumberSubstitution
|
IDWriteNumberSubstitution
Holds the appropriate digits and numeric punctuation for a specified locale. |
RenderingParams
|
IDWriteRenderingParamsRepresents text rendering settings such as ClearType level, enhanced contrast, and gamma correction for glyph rasterization and filtering. |
RenderingParams1
|
IDWriteRenderingParams1Represents text rendering settings for glyph rasterization and filtering. |
TextAnalyzer
|
IDWriteTextAnalyzer
Analyzes various text properties for complex script processing such as bidirectional (bidi) support for languages like Arabic, determination of line break opportunities, glyph placement, and number substitution. |
TextAnalyzer1
|
IDWriteTextAnalyzer1
Analyzes various text properties for complex script processing. |
TextFormat
|
IDWriteTextFormat
The interface describes the font and paragraph properties used to format text, and it describes locale information. |
TextLayout
|
IDWriteTextLayout
The interface represents a block of text after it has been fully analyzed and formatted. |
TextLayout1
|
IDWriteTextLayout1Represents a block of text after it has been fully analyzed and formatted. |
Typography
|
IDWriteTypographyRepresents a font typography setting. |