IDWriteColorGlyphRunEnumerator1::GetCurrentRun method (dwrite_3.h)
Gets the current color glyph run.
Syntax
HRESULT GetCurrentRun(
[out] DWRITE_COLOR_GLYPH_RUN1 const **colorGlyphRun
);
Parameters
[out] colorGlyphRun
Type: DWRITE_COLOR_GLYPH_RUN1
Receives a pointer to the color glyph run. The pointer remains valid until the next call to MoveNext or until the interface is released.
Return value
Type: HRESULT
Standard HRESULT error code. An error is returned if there is no current glyph run, i.e., if MoveNext has not yet been called or if the end of the sequence has been reached.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | dwrite_3.h |
Library | Dwrite.lib |