From c5c57f5ad83fa3716420d79c5b60341f14b3130f Mon Sep 17 00:00:00 2001 From: Alexis Deveria Date: Thu, 15 Apr 2010 14:07:00 +0000 Subject: [PATCH] Fixed unit test page git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1523 eee81c28-f429-11dd-99c0-75d572ba1ddd --- test/test1.html | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/test/test1.html b/test/test1.html index 657f4a42..762c6557 100644 --- a/test/test1.html +++ b/test/test1.html @@ -23,7 +23,26 @@ return [m.a,m.b,m.c,m.d,m.e,m.f].join(','); } - var svgCanvas = new SvgCanvas(document.getElementById("svgcanvas")), + var svgCanvas = new $.SvgCanvas(document.getElementById("svgcanvas"), { + canvas_expansion: 3, + dimensions: [640,480], + initFill: { + color: 'FF0000', // solid red + opacity: 1 + }, + initStroke: { + width: 5, + color: '000000', // solid black + opacity: 1 + }, + initOpacity: 1, + imgPath: 'images/', + langPath: 'locale/', + extPath: 'extensions/', + extensions: ['ext-arrows.js', 'ext-connector.js', 'ext-eyedropper.js'], + initTool: 'select', + wireframe: false + }), svgroot = document.getElementById("svgroot"), svgdoc = svgroot.documentElement, svgns = "http://www.w3.org/2000/svg",