Features:
* Draw rectangles, ellipses, texts, images or linear paths.
* Move, rotate or delete a shape.
* Edit vertices of a path.
* Change stroke width, stroke/fill color.
* Change the order of shapes.
* Export the data as SVG.
* Import SVG which is exported from this widget.
* Implemented as a ui component of Closure Library.
* Cross browser (Opera 10.10, Firefox 3.6, Google Chrome 4 and IE8
are well tested).
Please visit the project site for detail.
Ok i will fork the code if you dont mind then.
I think the features i want will be very easy to add.
thanks for info.
Regards
Ged
I will hack it this Christmas and see how i go.
I will be asking :)
g
I noticed from looking at the html source that you have 2 canvases groups.
The first is the actual svg objects, and the second is the overlay of
the pull points for interaction.
I cant seem to find where this is handled for a shape anywhere.
got any code links for me to this ?
Gerard
This is different from "getting started", ad this really is for people
using the existing code base to build derived application.
G
No you misunderstand.
When you do a view source and analyse the way the SVG is structured on
a page i see 2 canvas groups.
1. Main
2. used for drawings the shape points when editing.
I wanted some more info on how this works and where i can mess around
with this in the code.
Its a Very smart way of doing it too BTW
G
I am just getting everything setting up so i can run as dev and production.
i am developing on windows and using the nginx web server. Awesome web
server BTW
I always prefer to run everything through a web server, and am having
trouble with pathing a few things.
I am rooting at the "trunk" of course so that the web server has
access to everything underneath.
in closure-draw.css, you have a reference to icons.png
This is the only thing that is failing to be properly pathed in.
--------
building. Are you using the python tools to do all your building ?
I saw your ruby stuff. i know a bit of ruby, but am planning to write
a few python helpers or batch files to help make coding easier.
Ged
G