ID2D1DeviceContext4 interface (d2d1_3.h)

This interface performs all the same functions as the ID2D1DeviceContext3 interface, plus it enables functionality for handling new types of color font glyphs.

Inheritance

The ID2D1DeviceContext4 interface inherits from ID2D1DeviceContext3. ID2D1DeviceContext4 also has these types of members:

Methods

The ID2D1DeviceContext4 interface has these methods.

 
ID2D1DeviceContext4::CreateSvgGlyphStyle

Creates an SVG glyph style object.
ID2D1DeviceContext4::DrawColorBitmapGlyphRun

Draws a color bitmap glyph run using one of the bitmap formats.
ID2D1DeviceContext4::DrawSvgGlyphRun

Draws a color glyph run that has the format of DWRITE_GLYPH_IMAGE_FORMATS_SVG.
ID2D1DeviceContext4::DrawText

Draws the text within the given layout rectangle. (overload 2/2)
ID2D1DeviceContext4::DrawText

Draws the text within the given layout rectangle. (overload 1/2)
ID2D1DeviceContext4::DrawTextLayout

Draws a text layout object. If the layout is not subsequently changed, this can be more efficient than DrawText when drawing the same layout repeatedly.
ID2D1DeviceContext4::GetColorBitmapGlyphImage

Retrieves an image of the color bitmap glyph from the color glyph cache.
ID2D1DeviceContext4::GetSvgGlyphImage

Retrieves an image of the SVG glyph from the color glyph cache.

Requirements

Requirement Value
Target Platform Windows
Header d2d1_3.h