From 3c99c90d183ef2c25fd7858ac0e6cc5ba7c89218 Mon Sep 17 00:00:00 2001 From: Jeff Schiller Date: Wed, 23 Sep 2009 14:28:03 +0000 Subject: [PATCH] Tiny commented-out experiment for the thumbnail mentioned in Issue 208 git-svn-id: http://svg-edit.googlecode.com/svn/trunk@691 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svgcanvas.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index 81c11b55..03165756 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -620,6 +620,12 @@ function BatchCommand(text) { svgroot.appendChild(svgzoom); var comment = svgdoc.createComment(" created with SVG-edit - http://svg-edit.googlecode.com/ "); svgzoom.appendChild(comment); + // TODO For Issue 208: this is a start on a thumbnail +// var svgthumb = svgdoc.createElementNS(svgns, "use"); +// svgthumb.setAttribute('width', '100'); +// svgthumb.setAttribute('height', '100'); +// svgthumb.setAttributeNS(xlinkns, 'href', '#svgzoom'); +// svgroot.appendChild(svgthumb); // z-ordered array of tuples containing layer names and elements // the first layer is the one at the bottom of the rendering var all_layers = [];