]> git.pond.sub.org Git - eow/blobdiff - static/dojo-release-1.1.1/dojox/sketch/README
add Dojo 1.1.1
[eow] / static / dojo-release-1.1.1 / dojox / sketch / README
diff --git a/static/dojo-release-1.1.1/dojox/sketch/README b/static/dojo-release-1.1.1/dojox/sketch/README
new file mode 100644 (file)
index 0000000..85b2264
--- /dev/null
@@ -0,0 +1,58 @@
+-------------------------------------------------------------------------------\r
+dojox.sketch\r
+-------------------------------------------------------------------------------\r
+Version 0.1\r
+Release date: 28/01/2008\r
+-------------------------------------------------------------------------------\r
+Project state:\r
+experimental\r
+-------------------------------------------------------------------------------\r
+Credits\r
+       Contributed by TeamPatent (supported by National Science Foundation grant 638334)\r
+  Tom Trenka (ttrenka@gmail.com)\r
+  Heng Liu/LiuCougar (heng@teampatent.com)\r
+-------------------------------------------------------------------------------\r
+Project description\r
+\r
+A cross-browser drawing editor based on dojox.gfx.\r
+-------------------------------------------------------------------------------\r
+Dependencies:\r
+\r
+dijit (Toolbar, Button, Slider)\r
+dojox.gfx\r
+dojox.xml\r
+-------------------------------------------------------------------------------\r
+Documentation\r
+\r
+Currently, 5 shapes are supported: line, single arrow line, double arrow line,\r
+underline text and text. The first 3 shapes can have optinal text associated.\r
+\r
+Shapes can be added, deleted, moved and modified. All of these operations can\r
+be undo-ed or redo-ed.\r
+\r
+TODO:\r
+ * provide UI to change various properties on shapes (fill, stroke, text) and\r
+allow changing of background image\r
+ * serialize/unserialize in dojox.gfx to svg (and maybe vml as well?) (or another\r
+simplier format? such as a json based one, which is easier to parse, and then\r
+write a convertor to convert the json format to svg or any other format?)\r
+ * Move mousedown/up/move to each shape (to prepare for the following)\r
+ * Add shapes for other primitive shapes (needs to decide which primitive \r
+dojox.gfx.shapes are useful), and add in support for user to group any \r
+shapes/groups to form a single "compound shape" (need to add support to set \r
+fill/stroke properties on the entire compound shape, which shallpropagate to \r
+all children shapes)\r
+-------------------------------------------------------------------------------\r
+Installation instructions\r
+\r
+Install dijit, dojox.gfx and dojox.xml first\r
+\r
+Grab the following from the Dojo SVN Repository:\r
+http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/sketch.js\r
+http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/sketch/*\r
+\r
+Install into the following directory structure:\r
+/dojox/sketch/\r
+\r
+...which should be at the same level as your Dojo checkout.\r
+-------------------------------------------------------------------------------\r