summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorLiam P. White <inkscapebronyat-signgmaildotcom>2014-04-06 22:22:07 +0000
committerLiam P. White <inkscapebronyat-signgmaildotcom>2014-04-06 22:22:07 +0000
commit15f9682879d6860d8c84a1cb79a4a34e0848a1bc (patch)
tree3b94cd60e7b9add96b85fe3da1d8a3b26c2d9cf1 /share
parentProperly allow effect stacking with knotholders (and add extra LPE functional... (diff)
parentnoop: improve code style in sp-lpe-item.cpp (diff)
downloadinkscape-15f9682879d6860d8c84a1cb79a4a34e0848a1bc.tar.gz
inkscape-15f9682879d6860d8c84a1cb79a4a34e0848a1bc.zip
Updaet to trunk
(bzr r13090.1.49)
Diffstat (limited to 'share')
-rwxr-xr-xshare/extensions/measure.py5
-rw-r--r--share/icons/Makefile.am1
2 files changed, 4 insertions, 2 deletions
diff --git a/share/extensions/measure.py b/share/extensions/measure.py
index 5c709594f..edcd2e92f 100755
--- a/share/extensions/measure.py
+++ b/share/extensions/measure.py
@@ -203,6 +203,7 @@ class Length(inkex.Effect):
else:
xc, yc = cspcofm(p)
self.group = inkex.etree.SubElement(node.getparent(),inkex.addNS('path','svg'))
+ self.group.set('id', 'MassCenter_' + node.get('id'))
self.addCross(self.group, xc, yc, scale)
continue
# Format the length as string
@@ -220,8 +221,8 @@ class Length(inkex.Effect):
def addCross(self, node, x, y, scale):
l = 3*scale # 3 pixels in document units
- node.set('d', 'm %s,%s %s,0 m %s,%s 0,%s' % (str(x-l), str(y), str(2*l), str(-l), str(-l), str(2*l)))
- node.set('style', 'stroke:#000000;stroke-width:%s' % str(0.5*scale))
+ node.set('d', 'm %s,%s %s,0 %s,0 m %s,%s 0,%s 0,%s' % (str(x-l), str(y), str(l), str(l), str(-l), str(-l), str(l), str(l)))
+ node.set('style', 'stroke:#000000;fill:none;stroke-width:%s' % str(0.5*scale))
def addTextOnPath(self, node, x, y, text, id, anchor, startOffset, dy = 0):
new = inkex.etree.SubElement(node,inkex.addNS('textPath','svg'))
diff --git a/share/icons/Makefile.am b/share/icons/Makefile.am
index 6053cd71c..5830f1254 100644
--- a/share/icons/Makefile.am
+++ b/share/icons/Makefile.am
@@ -46,6 +46,7 @@ icons_DATA = \
\
icons.svg \
tango_icons.svg \
+ symbolic_icons.svg \
\
inkscape.file.svg \
inkscape.file.png \