Try different scale
This commit is contained in:
parent
28d5224552
commit
84fe9120e1
|
@ -1332,7 +1332,7 @@ 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 = (400.0 / (float) config.canvasHeight);
|
||||||
int xOffset = (int) (1536 - (SVGscale * config.canvasWidth / 2));
|
int xOffset = (int) (1536 - (SVGscale * config.canvasWidth / 2));
|
||||||
int yOffset = (int) (1056 - (SVGscale * config.canvasHeight / 2));
|
int yOffset = (int) (1056 - (SVGscale * config.canvasHeight / 2));
|
||||||
ArrayList<float[]> hatchLines;
|
ArrayList<float[]> hatchLines;
|
||||||
|
|
Loading…
Reference in New Issue