---------- Forwarded message ---------- From: Liam Breck <svg@...808...>
Proposed: An SVG Scene (aka canvas) Library for Cairo Feedback requested!
The Inkscape Wiki discusses an SVG-based canvas lib, but it looks far out on their roadmap. Could any Inkscape folks comment?
Hi Liam,
Yes, it's definitely something we want to migrate to but no one is currently working on creating it in canvas form.
Inkscape's canvas code can be found in the inkscape/src/display/ directory, and might be worth reviewing for ideas. It's essentially a port of GnomeCanvas that has evolved for our own needs.
The API of this code includes functions for things like:
* grabbing/ungrabbing focus * Requesting/performing updates/redraws * getting z-order of a given item * Scrolling * calculating if a given point is in the window * getting/setting windows/viewboxes and their coords * Getting the currently selected item(s) * Handling grid overlays * etc.
Bryce