From ab3fa8e925f163c97d201f0b2439e9b7e06b6b3a Mon Sep 17 00:00:00 2001 From: Jeff Schiller Date: Fri, 7 Aug 2009 05:44:55 +0000 Subject: [PATCH] First half of Issue 34 fixed: Can create polygons now. Also change default fill to red and default stroke-width to 5. Moved some functions around for convenience git-svn-id: http://svg-edit.googlecode.com/svn/trunk@359 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svg-editor.html | 6 +- editor/svg-editor.js | 6 +- editor/svgcanvas.js | 260 ++++++++++++++++++++++++++++++----------- 3 files changed, 195 insertions(+), 77 deletions(-) diff --git a/editor/svg-editor.html b/editor/svg-editor.html index 812c83d8..9e590a8f 100644 --- a/editor/svg-editor.html +++ b/editor/svg-editor.html @@ -166,7 +166,7 @@ Square
Circle
Text - Poly + Poly
@@ -186,13 +186,13 @@ fill:
-
N/A
+
100%
stroke:
100 %
- +