DirectWrite interfaces

DirectWrite defines the following interfaces.

In this section

Topic Description
IDWriteAsyncResult Represents the result of an asynchronous operation. A client can use the interface to wait for the operation to complete, and to get the result.
IDWriteBitmapRenderTarget Encapsulates a 32-bit device independent bitmap and device context, which can be used for rendering glyphs.
IDWriteBitmapRenderTarget1 Encapsulates a 32-bit device independent bitmap and device context, which you can use for rendering glyphs.
IDWriteBitmapRenderTarget2 Encapsulates a 32-bit device independent bitmap and device context, which can be used for rendering glyphs.
IDWriteColorGlyphRunEnumerator This interface allows the application to enumerate through the color glyph runs.
IDWriteColorGlyphRunEnumerator1 Enumerator for an ordered collection of color glyph runs.
IDWriteFactory Used to create all subsequent DirectWrite objects. This interface is the root factory interface for all DirectWrite objects.
IDWriteFactory1 The root factory interface for all DirectWrite objects.
IDWriteFactory2 The root factory interface for all DirectWrite objects.
IDWriteFactory3 The root factory interface for all DirectWrite objects.
IDWriteFactory4 The root factory interface for all DirectWrite objects.
IDWriteFactory5 The root factory interface for all DirectWrite objects.
IDWriteFactory6 This represents a factory object from which all DirectWrite objects are created. IDWriteFactory6 adds new facilities for working with fonts and font resources.
IDWriteFactory7 This interface represents a factory object from which all DirectWrite objects are created. IDWriteFactory7 adds new facilities for working with system fonts.
IDWriteFont Represents a physical font in a font collection. This interface is used to create font faces from physical fonts, or to retrieve information such as font face metrics or face names from existing font faces.
IDWriteFont1 Represents a physical font in a font collection.
IDWriteFont2 Represents a physical font in a font collection.
IDWriteFont3 Represents a font in a font collection.
IDWriteFontCollection An 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. The font collection API can be used to discover what font families and fonts are available, and to obtain some metadata about the fonts.
IDWriteFontCollection1 An 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. The font collection API can be used to discover what font families and fonts are available, and to obtain some metadata about the fonts.
IDWriteFontCollection2 This interface encapsulates a set of fonts, such as the set of fonts installed on the system, or the set of fonts in a particular directory.
IDWriteFontCollection3 This interface encapsulates a set of fonts, such as the set of fonts installed on the system, or the set of fonts in a particular directory.
IDWriteFontCollectionLoader Used to construct a collection of fonts given a particular type of key.
IDWriteFontDownloadListener Application-defined callback interface that receives notifications from the font download queue (IDWriteFontDownloadQueue interface). Callbacks will occur on the downloading thread, and objects must be prepared to handle calls on their methods from other threads at any time.
IDWriteFontDownloadQueue Interface that enqueues download requests for remote fonts, characters, glyphs, and font fragments.
IDWriteFontFace This interface exposes various font data such as metrics, names, and glyph outlines. It contains font face type, appropriate file references, and face identification data.
IDWriteFontFace1 Contains font face type, appropriate file references, and face identification data.
IDWriteFontFace2 This interface contains font face type, appropriate file references, and face identification data. It adds the ability to check whether a color rendering path is potentially necessary.
IDWriteFontFace3 Contains font face type, appropriate file references, and face identification data.
IDWriteFontFace4 Contains font face type, appropriate file references, and face identification data.
IDWriteFontFace5 This interface contains font face type, appropriate file references, and face identification data. It adds new facilities such as comparing two font faces, retrieving font axis values, and retrieving the underlying font resource.
IDWriteFontFaceReference Represents a reference to a font face. A uniquely identifying reference to a font, from which you can create a font face to query font metrics and use for rendering. A font face reference consists of a font file, font face index, and font face simulation. The file data may or may not be physically present on the local machine yet.
IDWriteFontFaceReference1 Represents a reference to a font face. A uniquely identifying reference to a font, from which you can create a font face to query font metrics and use for rendering.
IDWriteFontFallback Allows you to access fallback fonts from the font list.
IDWriteFontFallbackBuilder Allows you to create Unicode font fallback mappings and create a font fall back object from those mappings.
IDWriteFontFamily Represents a family of related fonts.
IDWriteFontFamily1 Represents a family of related fonts.
IDWriteFontFamily2 Represents a family of related fonts. IDWriteFontFamily2 adds new facilities, including retrieving fonts by font axis values.
IDWriteFontFile Represents a font file. Applications such as font managers or font viewers can call IDWriteFontFile::Analyze to find out if a particular file is a font file, and whether it is a font type that is supported by the font system.
IDWriteFontFileEnumerator Encapsulates a collection of font files. The font system uses this interface to enumerate font files when building a font collection.
IDWriteFontFileLoader Handles loading font file resources of a particular type from a font file reference key into a font file stream object.
IDWriteFontFileStream Loads font file data from a custom font file loader.
IDWriteFontList Represents a list of fonts.
IDWriteFontList1 Represents a list of fonts.
IDWriteFontList2 Represents a list of fonts. IDWriteFontList2 adds new facilities, including retrieving the underlying font set used by the list.
IDWriteFontResource nn-dwrite_3-idwritefontresource
IDWriteFontSet Represents a font set.
IDWriteFontSet1 Represents a font set.
IDWriteFontSet2 Represents a font set.
IDWriteFontSet3 Represents a font set.
IDWriteFontSet4 Represents a font set.
IDWriteFontSetBuilder Contains methods for building a font set.
IDWriteFontSetBuilder1 Contains methods for building a font set.
IDWriteFontSetBuilder2 Contains methods for building a font set.
IDWriteGdiInterop Provides interoperability with GDI, such as methods to convert a font face to a LOGFONT structure, or to convert a GDI font description into a font face. It is also used to create bitmap render target objects.
IDWriteGdiInterop1 Provides interoperability with GDI, such as methods to convert a font face to a LOGFONT structure, or to convert a GDI font description into a font face. It is also used to create bitmap render target objects.
IDWriteGeometrySink IDWriteGeometrySink is a typedef of the ID2D1SimplifiedGeometrySink interface. Please see the ID2D1SimplifiedGeometrySink reference page for more information.
IDWriteGlyphRunAnalysis Contains low-level information used to render a glyph run.
IDWriteInlineObject Wraps an application-defined inline graphic, allowing DWrite to query metrics as if the graphic were a glyph inline with the text.
IDWriteInMemoryFontFileLoader Represents a font file loader that can access in-memory fonts.
IDWriteLocalFontFileLoader A built-in implementation of the IDWriteFontFileLoader interface, that operates on local font files and exposes local font file information from the font file reference key. Font file references created using CreateFontFileReference use this font file loader.
IDWriteLocalizedStrings Represents a collection of strings indexed by locale name.
IDWriteNumberSubstitution Holds the appropriate digits and numeric punctuation for a specified locale.
IDWritePixelSnapping Defines the pixel snapping properties such as pixels per DIP(device-independent pixel) and the current transform matrix of a text renderer.
IDWriteRemoteFontFileLoader Represents a font file loader that can access remote (i.e., downloadable) fonts.
IDWriteRemoteFontFileStream Represents a font file stream, parts of which may be non-local.
IDWriteRenderingParams Represents text rendering settings such as ClearType level, enhanced contrast, and gamma correction for glyph rasterization and filtering. An application typically obtains a rendering parameters object by calling the IDWriteFactory::CreateMonitorRenderingParams method.
IDWriteRenderingParams1 Represents text rendering settings for glyph rasterization and filtering.
IDWriteRenderingParams2 Represents text rendering settings for glyph rasterization and filtering.
IDWriteRenderingParams3 Represents text rendering settings for glyph rasterization and filtering.
IDWriteStringList Represents a collection of strings indexed by number.
IDWriteTextAnalysisSink This interface is implemented by the text analyzer's client to receive the output of a given text analysis.
IDWriteTextAnalysisSink1 The interface you implement to receive the output of the text analyzers.
IDWriteTextAnalysisSource Implemented by the text analyzer's client to provide text to the analyzer. It allows the separation between the logical view of text as a continuous stream of characters identifiable by unique text positions, and the actual memory layout of potentially discrete blocks of text in the client's backing store.
IDWriteTextAnalysisSource1 The interface you implement to provide needed information to the text analyzer, like the text and associated text properties.
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.
IDWriteTextAnalyzer1 Analyzes various text properties for complex script processing.
IDWriteTextAnalyzer2 Analyzes various text properties for complex script processing.
IDWriteTextFormat The IDWriteTextFormat interface describes the font and paragraph properties used to format text, and it describes locale information.
IDWriteTextFormat1 Describes the font and paragraph properties used to format text, and it describes locale information.
IDWriteTextFormat2 Describes the font and paragraph properties used to format text, and it describes locale information.
IDWriteTextFormat3 Describes the font and paragraph properties used to format text, and it describes locale information.
IDWriteTextLayout The IDWriteTextLayout interface represents a block of text after it has been fully analyzed and formatted.
IDWriteTextLayout1 Represents a block of text after it has been fully analyzed and formatted.
IDWriteTextLayout2 Represents a block of text after it has been fully analyzed and formatted.
IDWriteTextLayout3 Represents a block of text after it has been fully analyzed and formatted.
IDWriteTextRenderer Represents a set of application-defined callbacks that perform rendering of text, inline objects, and decorations such as underlines.
IDWriteTextRenderer1 Represents a set of application-defined callbacks that perform rendering of text, inline objects, and decorations such as underlines.
IDWriteTypography Represents a font typography setting.