Freigeben über


IDWriteInlineObject Interface

Wraps an application-defined inline graphic, allowing DWrite to query metrics as if the graphic were a glyph inline with the text.

Mitglieder

IDWriteInlineObjectSchnittstelle erbt von der IUnknown-Schnittstelle. IDWriteInlineObject umfasst auch die folgenden Typen von Mitgliedern:

  • Methoden

Methoden

IDWriteInlineObjectSchnittstelle umfasst die folgenden Methoden.

Methode Beschreibung
Draw

The application implemented rendering callback (IDWriteTextRenderer::DrawInlineObject) can use this to draw the inline object without needing to cast or query the object type. The text layout does not call this method directly.

GetBreakConditions

Layout uses this to determine the line breaking behavior of the inline object amidst the text.

GetMetrics

IDWriteTextLayout calls this callback function to get the measurement of the inline object.

GetOverhangMetrics

IDWriteTextLayout calls this callback function to get the visible extents (in DIPs) of the inline object.

 

Anforderungen

Mindestens unterstützter Client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista

Mindestens unterstützter Server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008

Header

Dwrite.h

Bibliothek

Dwrite.lib

DLL

Dwrite.dll