empty_dvd_cover.py revision 8ac705ee842a9087042c9ed7d126f39cadac9cec
# Written by Tavmjong Bah
import inkex
self.OptionParser.add_option("-s", "--spine", action="store", type="string", dest="dvd_cover_spine", default="normal", help="Dvd spine width")
self.OptionParser.add_option("-b", "--bleed", action="store", type="float", dest="dvd_cover_bleed", default="3", help="Bleed (extra area around image")
# No need to set label (causes translation problems, etc.)
# guide.set(inkex.addNS('label', 'inkscape'), label)
# Dimensions in mm
if namedview is None:
# Until units are supported in 'cx', etc.
c = C()
c.affect()