summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 864f6d5)
raw | patch | inline | side by side (parent: 864f6d5)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 5 Mar 2007 16:33:23 +0000 (16:33 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 5 Mar 2007 16:33:23 +0000 (16:33 +0000) |
share/extensions/summersnight.py | patch | blob | history |
index 2fca74a50ae2cd456a53a5e50070b166530a6728..5d0fc5ae52a316d5d1121ea32ce1d5aff911cff4 100755 (executable)
f = os.popen("inkscape --query-%s --query-id=%s %s" % (query,id,file))
self.q[query] = float(f.read())
f.close()
- #glean document height from the SVG
- docheight = inkex.unittouu(inkex.xml.xpath.Evaluate('/svg/@height',self.document)[0].value)
- #Flip inkscapes transposed renderer coords
- self.q['y'] = docheight - self.q['y'] - self.q['height']
#process path
d = obj.attributes.getNamedItem('d')
return [p['x'],p['y']]
e = Project()
-e.affect()
\ No newline at end of file
+e.affect()