IDWriteTextRenderer1 interface

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

Members

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

Methods

The IDWriteTextRenderer1 interface has these methods.

MethodDescription
DrawGlyphRun

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

DrawInlineObject

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

DrawStrikethrough

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

DrawUnderline

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

 

Requirements

Minimum supported client

Windows 8.1 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 R2 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

Dwrite_2.h

Library

Dwrite.lib

DLL

Dwrite.dll

See also

IDWriteTextRenderer

 

 

Show: