/inkscape/share/extensions/ |
H A D | color_lesshue.py | 2 import coloreffect, inkex namespace 7 #inkex.debug("hsl: " + str(hsl[0]) + ", " + str(hsl[1]) + ", " + str(hsl[2]))
|
H A D | color_lesslight.py | 2 import coloreffect, inkex namespace 7 #inkex.debug("hsl: " + str(hsl[0]) + ", " + str(hsl[1]) + ", " + str(hsl[2]))
|
H A D | color_lesssaturation.py | 2 import coloreffect, inkex namespace 7 #inkex.debug("hsl: " + str(hsl[0]) + ", " + str(hsl[1]) + ", " + str(hsl[2]))
|
H A D | color_morehue.py | 2 import coloreffect, inkex namespace 7 #inkex.debug("hsl: " + str(hsl[0]) + ", " + str(hsl[1]) + ", " + str(hsl[2]))
|
H A D | color_morelight.py | 2 import coloreffect, inkex namespace 7 #inkex.debug("hsl: " + str(hsl[0]) + ", " + str(hsl[1]) + ", " + str(hsl[2]))
|
H A D | color_moresaturation.py | 2 import coloreffect, inkex namespace 7 #inkex.debug("hsl: " + str(hsl[0]) + ", " + str(hsl[1]) + ", " + str(hsl[2]))
|
H A D | empty_icon.py | 5 import inkex namespace 7 class C(inkex.Effect): 9 inkex.Effect.__init__(self) 22 namedview = root.find(inkex.addNS('namedview', 'sodipodi')) 24 namedview = inkex.etree.SubElement( root, inkex.addNS('namedview', 'sodipodi') ); 26 namedview.set(inkex.addNS('document-units', 'inkscape'), 'px') 28 namedview.set(inkex.addNS('zoom', 'inkscape'), str(256.0/size) ) 29 namedview.set(inkex.addNS('cx', 'inkscape'), str(size/2.0) ) 30 namedview.set(inkex [all...] |
H A D | empty_page.py | 5 import inkex namespace 7 class C(inkex.Effect): 9 inkex.Effect.__init__(self) 50 namedview = root.find(inkex.addNS('namedview', 'sodipodi')) 52 namedview = inkex.etree.SubElement( root, inkex.addNS('namedview', 'sodipodi') ); 54 namedview.set(inkex.addNS('document-units', 'inkscape'), units) 57 namedview.set(inkex.addNS('cx', 'inkscape'), str(self.uutounit( width, 'px' )/2.0 ) ) 58 namedview.set(inkex.addNS('cy', 'inkscape'), str(self.uutounit( height, 'px' )/2.0 ) ) 64 namedview.set(inkex [all...] |
H A D | next_glyph_layer.py | 20 import inkex namespace 22 class NextLayer(inkex.Effect): 24 inkex.Effect.__init__(self) 31 groups = self.svg.findall(inkex.addNS('g', 'svg')) 36 if "GlyphLayer-" in g.get(inkex.addNS('label', 'inkscape')):
|
H A D | previous_glyph_layer.py | 20 import inkex namespace 22 class PreviousLayer(inkex.Effect): 24 inkex.Effect.__init__(self) 31 groups = self.svg.findall(inkex.addNS('g', 'svg')) 36 if "GlyphLayer-" in g.get(inkex.addNS('label', 'inkscape')):
|
H A D | jessyInk_autoTexts.py | 26 # We will use the inkex module with the predefined Effect base class. 27 import inkex namespace 28 inkex.localize() 30 class JessyInk_AutoTexts(inkex.Effect): 33 inkex.Effect.__init__(self) 38 inkex.NSS[u"jessyink"] = u"https://launchpad.net/jessyink" 42 scriptNodes = self.document.xpath("//svg:script[@jessyink:version='1.5.5']", namespaces=inkex.NSS) 45 inkex.errormsg(_("The JessyInk script is not installed in this SVG file or has a different version than the JessyInk extensions. Please select \"install/update...\" from the \"JessyInk\" sub-menu of the \"Extensions\" menu to install or update the JessyInk script.\n\n")) 48 inkex.errormsg(_("To assign an effect, please select an object.\n\n")) 51 nodes = node.xpath("./svg:tspan", namespaces=inkex [all...] |
H A D | jessyInk_effects.py | 26 # We will use the inkex module with the predefined Effect base class. 27 import inkex namespace 28 inkex.localize() 30 class JessyInk_Effects(inkex.Effect): 33 inkex.Effect.__init__(self) 43 inkex.NSS[u"jessyink"] = u"https://launchpad.net/jessyink" 47 scriptNodes = self.document.xpath("//svg:script[@jessyink:version='1.5.5']", namespaces=inkex.NSS) 50 inkex.errormsg(_("The JessyInk script is not installed in this SVG file or has a different version than the JessyInk extensions. Please select \"install/update...\" from the \"JessyInk\" sub-menu of the \"Extensions\" menu to install or update the JessyInk script.\n\n")) 53 inkex.errormsg(_("No object selected. Please select the object you want to assign an effect to and then press apply.\n")) 57 node.set("{" + inkex [all...] |
H A D | jessyInk_masterSlide.py | 26 # We will use the inkex module with the predefined Effect base class. 27 import inkex namespace 29 inkex.localize() 31 class JessyInk_MasterSlide(inkex.Effect): 34 inkex.Effect.__init__(self) 39 inkex.NSS[u"jessyink"] = u"https://launchpad.net/jessyink" 43 scriptNodes = self.document.xpath("//svg:script[@jessyink:version='1.5.5']", namespaces=inkex.NSS) 46 inkex.errormsg(_("The JessyInk script is not installed in this SVG file or has a different version than the JessyInk extensions. Please select \"install/update...\" from the \"JessyInk\" sub-menu of the \"Extensions\" menu to install or update the JessyInk script.\n\n")) 49 for node in self.document.xpath("//*[@jessyink:masterSlide='masterSlide']", namespaces=inkex.NSS): 50 del node.attrib["{" + inkex [all...] |
H A D | jessyInk_mouseHandler.py | 28 # We will use the inkex module with the predefined Effect base class. 29 import inkex namespace 31 inkex.localize() 33 class JessyInk_CustomMouseHandler(inkex.Effect): 36 inkex.Effect.__init__(self) 41 inkex.NSS[u"jessyink"] = u"https://launchpad.net/jessyink" 45 scriptNodes = self.document.xpath("//svg:script[@jessyink:version='1.5.5']", namespaces=inkex.NSS) 48 inkex.errormsg(_("The JessyInk script is not installed in this SVG file or has a different version than the JessyInk extensions. Please select \"install/update...\" from the \"JessyInk\" sub-menu of the \"Extensions\" menu to install or update the JessyInk script.\n\n")) 51 for node in self.document.xpath("//jessyink:mousehandler", namespaces=inkex.NSS): 56 scriptElm = inkex [all...] |
H A D | jessyInk_transitions.py | 26 # We will use the inkex module with the predefined Effect base class. 27 import inkex namespace 29 inkex.localize() 31 class JessyInk_Transitions(inkex.Effect): 34 inkex.Effect.__init__(self) 43 inkex.NSS[u"jessyink"] = u"https://launchpad.net/jessyink" 47 scriptNodes = self.document.xpath("//svg:script[@jessyink:version='1.5.5']", namespaces=inkex.NSS) 50 inkex.errormsg(_("The JessyInk script is not installed in this SVG file or has a different version than the JessyInk extensions. Please select \"install/update...\" from the \"JessyInk\" sub-menu of the \"Extensions\" menu to install or update the JessyInk script.\n\n")) 53 nodes = self.document.xpath(unicode("//*[@inkscape:groupmode='layer' and @inkscape:label='" + self.options.layerName + "']", 'utf-8'), namespaces=inkex.NSS) 55 inkex [all...] |
H A D | color_replace.py | 4 import inkex namespace 18 #inkex.debug(this_color+"|"+fr+"|"+to)
|
H A D | empty_business_card.py | 5 import inkex namespace 8 class C(inkex.Effect): 10 inkex.Effect.__init__(self) 30 namedview = root.find(inkex.addNS('namedview', 'sodipodi')) 32 namedview = inkex.etree.SubElement( root, inkex.addNS('namedview', 'sodipodi') ); 34 namedview.set(inkex.addNS('document-units', 'inkscape'), width_unit) 39 namedview.set(inkex.addNS('zoom', 'inkscape'), str(2) ) 40 namedview.set(inkex.addNS('cx', 'inkscape'), str(width_int/2.0) ) 41 namedview.set(inkex [all...] |
H A D | empty_desktop.py | 5 import inkex namespace 8 class C(inkex.Effect): 10 inkex.Effect.__init__(self) 35 namedview = root.find(inkex.addNS('namedview', 'sodipodi')) 37 namedview = inkex.etree.SubElement( root, inkex.addNS('namedview', 'sodipodi') ); 39 namedview.set(inkex.addNS('document-units', 'inkscape'), 'px') 41 namedview.set(inkex.addNS('cx', 'inkscape'), str(width/2.0) ) 42 namedview.set(inkex.addNS('cy', 'inkscape'), str(height/2.0) )
|
H A D | empty_generic.py | 5 import inkex namespace 8 class C(inkex.Effect): 10 inkex.Effect.__init__(self) 30 namedview = root.find(inkex.addNS('namedview', 'sodipodi')) 32 namedview = inkex.etree.SubElement( root, inkex.addNS('namedview', 'sodipodi') ); 34 namedview.set(inkex.addNS('document-units', 'inkscape'), unit) 37 namedview.set(inkex.addNS('zoom', 'inkscape'), str(512.0/self.uutounit( width, 'px' )) ) 38 namedview.set(inkex.addNS('cx', 'inkscape'), str(self.uutounit( width, 'px' )/2.0 ) ) 39 namedview.set(inkex [all...] |
H A D | empty_video.py | 5 import inkex namespace 8 class C(inkex.Effect): 10 inkex.Effect.__init__(self) 35 namedview = root.find(inkex.addNS('namedview', 'sodipodi')) 37 namedview = inkex.etree.SubElement( root, inkex.addNS('namedview', 'sodipodi') ); 39 namedview.set(inkex.addNS('document-units', 'inkscape'), 'px') 41 namedview.set(inkex.addNS('cx', 'inkscape'), str(width/2.0) ) 42 namedview.set(inkex.addNS('cy', 'inkscape'), str(height/2.0) )
|
H A D | handles.py | 19 import inkex, simplepath, simplestyle namespace 21 class Handles(inkex.Effect): 24 if node.tag == inkex.addNS('path','svg'): 51 inkex.etree.SubElement(node.getparent(), inkex.addNS('path','svg'), attribs)
|
H A D | hpgl_decoder.py | 24 import inkex namespace 50 self.doc = inkex.etree.parse(StringIO('<svg xmlns:sodipodi="' + inkex.NSS['sodipodi'] + '" xmlns:inkscape="' + inkex.NSS['inkscape'] + '" width="%smm" height="%smm" viewBox="0 0 %s %s"></svg>' % 52 inkex.etree.SubElement(self.doc.getroot(), inkex.addNS('namedview', 'sodipodi'), {inkex.addNS('document-units', 'inkscape'): 'mm'}) 54 self.layers[0] = inkex.etree.SubElement(self.doc.getroot(), 'g', {inkex.addNS('groupmode', 'inkscape'): 'layer', inkex [all...] |
H A D | jessyInk_uninstall.py | 26 # We will use the inkex module with the predefined Effect base class. 27 import inkex namespace 43 class JessyInk_Uninstall(inkex.Effect): 46 inkex.Effect.__init__(self) 56 inkex.NSS[u"jessyink"] = u"https://launchpad.net/jessyink" 62 for node in self.document.xpath("//svg:script[@id='JessyInk']", namespaces=inkex.NSS): 83 for node in self.document.xpath("//*[@jessyink:effectIn]", namespaces=inkex.NSS): 84 del node.attrib["{" + inkex.NSS["jessyink"] + "}effectIn"] 86 for node in self.document.xpath("//*[@jessyink:effectOut]", namespaces=inkex.NSS): 87 del node.attrib["{" + inkex [all...] |
H A D | new_glyph_layer.py | 20 import inkex namespace 25 class NewGlyphLayer(inkex.Effect): 27 inkex.Effect.__init__(self) 47 layer = inkex.etree.SubElement(svg, 'g') 48 layer.set(inkex.addNS('label', 'inkscape'), u'GlyphLayer-'+char) 49 layer.set(inkex.addNS('groupmode', 'inkscape'), 'layer')
|
H A D | text_braille.py | 4 import chardataeffect, inkex, string namespace
|