Commit Graph

7 Commits

Author SHA1 Message Date
Florian Festi 2117bfbc15 Do not error out if drawing does into the negative x direction
... unless there is not enough place for the viewport.
2016-07-25 18:56:00 +02:00
Marius Bergmann 4b487014d0 Fix project for use within virtualenv
- Use /usr/bin/env to determine path to python3 instead of a hard-coded
  path, so that virtualenv stubs work properly.
- Change package name to 'boxes' ('boxes.py' did not work within
  virtualenv).
2016-07-12 13:13:03 +02:00
Florian Festi a1c6652552 Use a more robust way to replace the size and viewport in the svg
Increase maximum size of canvas to 10000mm squared.
2016-06-29 14:07:51 +02:00
Florian Festi 3d60aa096b Fix default matrix used when parsing svg path without transform attribute 2016-06-22 23:10:26 +02:00
Florian Festi 1c0ec91fe1 Fix parsing for integer numbers 2016-06-22 23:09:16 +02:00
Florian Festi 43c34e6a42 Fix start of viewport to x=0
as we do not have the place to write a different value anyway.
This fixes the scaling in x direction: gh#7
2016-06-22 10:47:47 +02:00
Florian Festi de3629eb96 Add new file rebased away during cleanup of previous patchset 2016-06-13 18:57:04 +02:00