summersnight.py revision 92bde11e300abcce76aeafbbc4a5d81277119a27
"""
Copyright (C) 2005 Aaron Spike, aaron@ekips.org
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
"""
from ffgeom import *
exit()
#obj is selected second
#distil trafo into four node points
#vectors pointing away from the trafo origin
#query inkscape about the bounding box of obj
f.close()
#process path
p = cubicsuperpath.parsePath(d)
for subs in p:
def trafopoint(self,(x,y)):
#Transform algorithm thanks to Jose Hevia (freon)
return [p['x'],p['y']]
e = Project()
e.affect()