Play with an alternate scale
This commit is contained in:
parent
5f73cb1d82
commit
28d5224552
|
@ -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" />
|
||||
|
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
@ -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<float[]> hatchLines;
|
||||
|
||||
if (FileModeTSP) {
|
||||
|
|
Loading…
Reference in New Issue