Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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.DrawGlyphRun) |
| IDWriteTextRenderer::DrawInlineObject IDWriteTextLayout::Draw calls this application callback when it needs to draw an inline object. (IDWriteTextRenderer.DrawInlineObject) |
| IDWriteTextRenderer::DrawStrikethrough IDWriteTextLayout::Draw calls this function to instruct the client to draw a strikethrough. (IDWriteTextRenderer.DrawStrikethrough) |
| IDWriteTextRenderer::DrawUnderline IDWriteTextLayout::Draw calls this function to instruct the client to draw an underline. (IDWriteTextRenderer.DrawUnderline) |
Requirements
| Requirement | Value |
|---|---|
| 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 |