diff --git a/header.txt b/header.txt index c7131f0..99f1c28 100644 --- a/header.txt +++ b/header.txt @@ -9,8 +9,8 @@ xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="3200" - height="800" + width="1536" + height="1056" id="svg2985" version="1.1" inkscape:version="0.48.1 r9760"> @@ -24,8 +24,8 @@ inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="0.35" - inkscape:cx="1600" - inkscape:cy="400" + inkscape:cx="1536" + inkscape:cy="1056" inkscape:document-units="px" inkscape:current-layer="layer1" showgrid="false" /> diff --git a/stipple_gen.pde b/stipple_gen.pde index a5085b7..bd34b71 100644 --- a/stipple_gen.pde +++ b/stipple_gen.pde @@ -1333,8 +1333,8 @@ void draw () { //Need to get some background on this. //what are these magic numbers? float SVGscale = (800.0 / (float) config.canvasHeight); - int xOffset = (int) (1600 - (SVGscale * config.canvasWidth / 2)); - int yOffset = (int) (400 - (SVGscale * config.canvasHeight / 2)); + int xOffset = (int) (1536 - (SVGscale * config.canvasWidth / 2)); + int yOffset = (int) (1056 - (SVGscale * config.canvasHeight / 2)); ArrayList hatchLines; if (FileModeTSP) {