IDWriteTextRenderer::DrawGlyphRun
takes &self
and *const c_void
. No pointer to mutable state present.
#3002
Labels
question
Further information is requested
Summary
When implementing
IDWriteTextRenderer
, it makes sense that one would need mutable state somewhere, if only to record glyphs. However, the function signature for IDWriteTextRenderer::DrawGlyphRun does not allow mutable access toself
or the context pointer.This doesn't prevent an implementation from working, but it certainly is an ergonomic papercut.
Crate manifest
Crate code
No response
The text was updated successfully, but these errors were encountered: