header problem?

This commit is contained in:
mattmcw 2021-03-25 18:56:56 -04:00
parent 84fe9120e1
commit 17b62bc152
2 changed files with 3 additions and 3 deletions

View File

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

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

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