Read back what the editor drew for every code block in the document.
Synchronous, so the print path, which has to build a page inside a click
handler, can use it too. Turning a diagram into a bitmap cannot be, and is
rasterizeDiagrams, a separate step for the formats that need one.
Read back what the editor drew for every code block in the document.
Synchronous, so the print path, which has to build a page inside a click handler, can use it too. Turning a diagram into a bitmap cannot be, and is rasterizeDiagrams, a separate step for the formats that need one.