2a8da5bd8f757b218f0a9e9826a7afea16e7a773ishmalCopyright (C) 2007
2a8da5bd8f757b218f0a9e9826a7afea16e7a773ishmalThis program is free software; you can redistribute it and/or modify
2a8da5bd8f757b218f0a9e9826a7afea16e7a773ishmalit under the terms of the GNU General Public License as published by
2a8da5bd8f757b218f0a9e9826a7afea16e7a773ishmalthe Free Software Foundation; either version 2 of the License, or
2a8da5bd8f757b218f0a9e9826a7afea16e7a773ishmal(at your option) any later version.
2a8da5bd8f757b218f0a9e9826a7afea16e7a773ishmalThis program is distributed in the hope that it will be useful,
2a8da5bd8f757b218f0a9e9826a7afea16e7a773ishmalbut WITHOUT ANY WARRANTY; without even the implied warranty of
2a8da5bd8f757b218f0a9e9826a7afea16e7a773ishmalMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2a8da5bd8f757b218f0a9e9826a7afea16e7a773ishmalGNU General Public License for more details.
2a8da5bd8f757b218f0a9e9826a7afea16e7a773ishmalYou should have received a copy of the GNU General Public License
2a8da5bd8f757b218f0a9e9826a7afea16e7a773ishmalalong with this program; if not, write to the Free Software
107e00c8104649437b9520d0ba298dba659e7cd7JazzyNicoFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
789b5bcf61bdd8067c5b6f69bf6d2f76e8e70177apenner# local library
2a8da5bd8f757b218f0a9e9826a7afea16e7a773ishmal 'Join paths with lines or polygons'),
2a8da5bd8f757b218f0a9e9826a7afea16e7a773ishmal self.OptionParser.add_option(o[0], o[1], action="store", type=o[2],
3107bbf34c689fba7ed6fd8c7a7be933e489d5a2apenner for j in range(0, min(len(pts[n1][i]), len(pts[n2][i]))):
3107bbf34c689fba7ed6fd8c7a7be933e489d5a2apenner comp.append([pts[n1][i][j][1][-2:], pts[n2][i][j][1][-2:]])
2a8da5bd8f757b218f0a9e9826a7afea16e7a773ishmal ele = inkex.etree.Element('{http://www.w3.org/2000/svg}path')
3107bbf34c689fba7ed6fd8c7a7be933e489d5a2apenner ele.set('style', 'fill:none;stroke:#000000;stroke-opacity:1;stroke-width:1;')
3107bbf34c689fba7ed6fd8c7a7be933e489d5a2apenner g = inkex.etree.Element('{http://www.w3.org/2000/svg}g')
3107bbf34c689fba7ed6fd8c7a7be933e489d5a2apenner g.set('style', 'fill:#000000;stroke:#000000;fill-opacity:0.3;stroke-width:2;stroke-opacity:0.6;')