IDWriteTextRenderer interface (dwrite.h)

Represents a set of application-defined callbacks that perform rendering of text, inline objects, and decorations such as underlines.

Inheritance

The IDWriteTextRenderer interface inherits from IDWritePixelSnapping. IDWriteTextRenderer also has these types of members:

Methods

The IDWriteTextRenderer interface has these methods.

 
IDWriteTextRenderer::DrawGlyphRun

IDWriteTextLayout::Draw calls this function to instruct the client to render a run of glyphs.
IDWriteTextRenderer::DrawInlineObject

IDWriteTextLayout::Draw calls this application callback when it needs to draw an inline object.
IDWriteTextRenderer::DrawStrikethrough

IDWriteTextLayout::Draw calls this function to instruct the client to draw a strikethrough.
IDWriteTextRenderer::DrawUnderline

IDWriteTextLayout::Draw calls this function to instruct the client to draw an underline.

Requirements

   
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header dwrite.h

See also

IDWritePixelSnapping