- QRCode Tool - a SVG object is generated and plotted on screen having the QRCode data

- fixed an import error in Distance Tool
This commit is contained in:
Marius Stanciu
2019-10-23 22:53:38 +03:00
committed by Marius
parent 70fbb7f852
commit c8a97e69d0
6 changed files with 180 additions and 24 deletions

View File

@@ -1027,6 +1027,7 @@ class Geometry(object):
# w = float(svg_root.get('width'))
h = svgparselength(svg_root.get('height'))[0] # TODO: No units support yet
geos = getsvggeo(svg_root, object_type)
if flip:
geos = [translate(scale(g, 1.0, -1.0, origin=(0, 0)), yoff=h) for g in geos]