IDWriteInlineObject interface
Wraps an application-defined inline graphic, allowing DWrite to query metrics as if the graphic were a glyph inline with the text.
Members
The IDWriteInlineObject interface inherits from the IUnknown interface. IDWriteInlineObject also has these types of members:
Methods
The IDWriteInlineObject interface has these methods.
| Method | Description |
|---|---|
| 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 among 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. In the case of a simple bitmap, with no padding and no overhang, all the overhangs will simply be zeroes. |
Requirements
|
Minimum supported client |
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|
|
Library |
|
|
DLL |
|