Flip sign of exportCanvas dx and dy. Fixes issue #523
This commit is contained in:
parent
704bb4a3be
commit
39f419e28c
@ -717,8 +717,8 @@ void VectorFileWriter::OutputLinesAndMesh(SBezierLoopSetSet *sblss, SMesh *sm) {
|
|||||||
ptMin.y -= s*SS.exportMargin.bottom;
|
ptMin.y -= s*SS.exportMargin.bottom;
|
||||||
ptMax.y += s*SS.exportMargin.top;
|
ptMax.y += s*SS.exportMargin.top;
|
||||||
} else {
|
} else {
|
||||||
ptMin.x = -(s*SS.exportCanvas.dx);
|
ptMin.x = (s*SS.exportCanvas.dx);
|
||||||
ptMin.y = -(s*SS.exportCanvas.dy);
|
ptMin.y = (s*SS.exportCanvas.dy);
|
||||||
ptMax.x = ptMin.x + (s*SS.exportCanvas.width);
|
ptMax.x = ptMin.x + (s*SS.exportCanvas.width);
|
||||||
ptMax.y = ptMin.y + (s*SS.exportCanvas.height);
|
ptMax.y = ptMin.y + (s*SS.exportCanvas.height);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user