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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for