Remove the offsets

This commit is contained in:
mattmcw 2021-03-25 19:02:50 -04:00
parent 17b62bc152
commit f10e9f859c
2 changed files with 4 additions and 4 deletions

View File

@ -24,8 +24,8 @@
inkscape:pageopacity="0.0" inkscape:pageopacity="0.0"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:zoom="0.35" inkscape:zoom="0.35"
inkscape:cx="768" inkscape:cx="0"
inkscape:cy="528" inkscape:cy="0"
inkscape:document-units="px" inkscape:document-units="px"
inkscape:current-layer="layer1" inkscape:current-layer="layer1"
showgrid="false" /> showgrid="false" />

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -1333,8 +1333,8 @@ void draw () {
//Need to get some background on this. //Need to get some background on this.
//what are these magic numbers? //what are these magic numbers?
float SVGscale = (800.0 / (float) config.canvasHeight); float SVGscale = (800.0 / (float) config.canvasHeight);
int xOffset = (int) (1536 - (SVGscale * config.canvasWidth / 2)); int xOffset = 0; //(int) (1536 - (SVGscale * config.canvasWidth / 2));
int yOffset = (int) (1056 - (SVGscale * config.canvasHeight / 2)); int yOffset = 0; //(int) (1056 - (SVGscale * config.canvasHeight / 2));
ArrayList<float[]> hatchLines; ArrayList<float[]> hatchLines;
if (FileModeTSP) { if (FileModeTSP) {