IDWriteInlineObject interface (dwrite.h)
Wraps an application-defined inline graphic, allowing DWrite to query metrics as if the graphic were a glyph inline with the text.
The IDWriteInlineObject interface inherits from the IUnknown interface. IDWriteInlineObject also has these types of members:
The IDWriteInlineObject interface has these methods.
IDWriteInlineObject::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. |
IDWriteInlineObject::GetBreakConditions Layout uses this to determine the line-breaking behavior of the inline object among the text. |
IDWriteInlineObject::GetMetrics IDWriteTextLayout calls this callback function to get the measurement of the inline object. |
IDWriteInlineObject::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. |
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 |