source: Dev/branches/rest-dojo-ui/client/dojox/sketch/README @ 256

Last change on this file since 256 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

File size: 2.4 KB
Line 
1-------------------------------------------------------------------------------
2dojox.sketch
3-------------------------------------------------------------------------------
4Version 0.1
5Release date: 28/01/2008
6-------------------------------------------------------------------------------
7Project state:
8experimental
9-------------------------------------------------------------------------------
10Credits
11        Contributed by TeamPatent (supported by National Science Foundation grant 638334)
12  Tom Trenka (ttrenka@gmail.com)
13  Heng Liu/LiuCougar (heng@teampatent.com)
14-------------------------------------------------------------------------------
15Project description
16
17A cross-browser drawing editor based on dojox.gfx.
18-------------------------------------------------------------------------------
19Dependencies:
20
21dijit (Toolbar, Button, Slider)
22dojox.gfx
23dojox.xml
24-------------------------------------------------------------------------------
25Documentation
26
27Currently, 5 shapes are supported: line, single arrow line, double arrow line,
28underline text and text. The first 3 shapes can have optinal text associated.
29
30Shapes can be added, deleted, moved and modified. All of these operations can
31be undo-ed or redo-ed.
32
33TODO:
34 * provide UI to change various properties on shapes (fill, stroke, text) and
35allow changing of background image
36 * serialize/unserialize in dojox.gfx to svg (and maybe vml as well?) (or another
37simplier format? such as a json based one, which is easier to parse, and then
38write a convertor to convert the json format to svg or any other format?)
39 * Move mousedown/up/move to each shape (to prepare for the following)
40 * Add shapes for other primitive shapes (needs to decide which primitive
41dojox.gfx.shapes are useful), and add in support for user to group any
42shapes/groups to form a single "compound shape" (need to add support to set
43fill/stroke properties on the entire compound shape, which shallpropagate to
44all children shapes)
45-------------------------------------------------------------------------------
46Installation instructions
47
48Install dijit, dojox.gfx and dojox.xml first
49
50Grab the following from the Dojo SVN Repository:
51http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/sketch.js
52http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/sketch/*
53
54Install into the following directory structure:
55/dojox/sketch/
56
57...which should be at the same level as your Dojo checkout.
58-------------------------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.