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.
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.