Expand description
WASM bindings for the draw renderer.
Exposes a DrawEngine that holds document state, viewport, selection,
and renderer — callable from JavaScript via wasm-bindgen.
Complex types cross the boundary as JSON strings to keep the interface simple.
Structs§
- Draw
Engine - The main WASM-facing engine. Holds all state needed for rendering and interaction: document, renderer, viewport, selection, and undo history.