diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2009-04-18 01:24:27 +0000 |
|---|---|---|
| committer | tweenk <tweenk@users.sourceforge.net> | 2009-04-18 01:24:27 +0000 |
| commit | eba76fd4133117e607221b27d0bee61ec5b17197 (patch) | |
| tree | b2cff54dd213c6e79120de6ce62eb9cc34829112 | |
| parent | Fix broken randomize icon (diff) | |
| download | inkscape-eba76fd4133117e607221b27d0bee61ec5b17197.tar.gz inkscape-eba76fd4133117e607221b27d0bee61ec5b17197.zip | |
Fix most icons in the geometry tool
(bzr r7727)
38 files changed, 1492 insertions, 53 deletions
diff --git a/share/icons/hicolor/16x16/actions/Makefile.am b/share/icons/hicolor/16x16/actions/Makefile.am index 1e385412c..10b722554 100644 --- a/share/icons/hicolor/16x16/actions/Makefile.am +++ b/share/icons/hicolor/16x16/actions/Makefile.am @@ -60,6 +60,13 @@ icons_DATA = \ draw-ellipse-whole.png \ draw-eraser.png \ draw-freehand.png \ + draw-geometry-angle-bisector.png \ + draw-geometry-circle-from-radius.png \ + draw-geometry-circle-from-three-points.png \ + draw-geometry-line-parallel.png \ + draw-geometry-line-perpendicular.png \ + draw-geometry-line-segment.png \ + draw-geometry-symmetry.png \ draw-path.png \ draw-polygon.png \ draw-polygon-star.png \ @@ -142,6 +149,7 @@ icons_DATA = \ path-tweak-roughen.png \ path-tweak-shrink.png \ path-union.png \ + randomize.png \ rectangle-make-corners-sharp.png \ selection-bottom.png \ selection-lower.png \ @@ -150,6 +158,7 @@ icons_DATA = \ selection-move-to-layer-below.png \ selection-raise.png \ selection-top.png \ + show-bounding-box.png \ show-dialogs.png \ show-grid.png \ show-guides.png \ diff --git a/share/icons/hicolor/16x16/actions/draw-geometry.png b/share/icons/hicolor/16x16/actions/draw-geometry.png Binary files differnew file mode 100644 index 000000000..2865b25e0 --- /dev/null +++ b/share/icons/hicolor/16x16/actions/draw-geometry.png diff --git a/share/icons/hicolor/16x16/actions/show-bounding-box.png b/share/icons/hicolor/16x16/actions/show-bounding-box.png Binary files differnew file mode 100644 index 000000000..e3157a831 --- /dev/null +++ b/share/icons/hicolor/16x16/actions/show-bounding-box.png diff --git a/share/icons/hicolor/16x16/status/draw-geometry-angle-bisector.png b/share/icons/hicolor/16x16/status/draw-geometry-angle-bisector.png Binary files differnew file mode 100644 index 000000000..fe86f8177 --- /dev/null +++ b/share/icons/hicolor/16x16/status/draw-geometry-angle-bisector.png diff --git a/share/icons/hicolor/16x16/status/draw-geometry-circle-from-radius.png b/share/icons/hicolor/16x16/status/draw-geometry-circle-from-radius.png Binary files differnew file mode 100644 index 000000000..1a7c2f3aa --- /dev/null +++ b/share/icons/hicolor/16x16/status/draw-geometry-circle-from-radius.png diff --git a/share/icons/hicolor/16x16/status/draw-geometry-circle-from-three-points.png b/share/icons/hicolor/16x16/status/draw-geometry-circle-from-three-points.png Binary files differnew file mode 100644 index 000000000..a7f702f97 --- /dev/null +++ b/share/icons/hicolor/16x16/status/draw-geometry-circle-from-three-points.png diff --git a/share/icons/hicolor/16x16/status/draw-geometry-inactive.png b/share/icons/hicolor/16x16/status/draw-geometry-inactive.png Binary files differnew file mode 100644 index 000000000..e279569f0 --- /dev/null +++ b/share/icons/hicolor/16x16/status/draw-geometry-inactive.png diff --git a/share/icons/hicolor/16x16/status/draw-geometry-line-parallel.png b/share/icons/hicolor/16x16/status/draw-geometry-line-parallel.png Binary files differnew file mode 100644 index 000000000..de6a500d4 --- /dev/null +++ b/share/icons/hicolor/16x16/status/draw-geometry-line-parallel.png diff --git a/share/icons/hicolor/16x16/status/draw-geometry-line-perpendicular.png b/share/icons/hicolor/16x16/status/draw-geometry-line-perpendicular.png Binary files differnew file mode 100644 index 000000000..ed96db694 --- /dev/null +++ b/share/icons/hicolor/16x16/status/draw-geometry-line-perpendicular.png diff --git a/share/icons/hicolor/16x16/status/draw-geometry-line-segment.png b/share/icons/hicolor/16x16/status/draw-geometry-line-segment.png Binary files differnew file mode 100644 index 000000000..099211f78 --- /dev/null +++ b/share/icons/hicolor/16x16/status/draw-geometry-line-segment.png diff --git a/share/icons/hicolor/16x16/status/draw-geometry-mirror.png b/share/icons/hicolor/16x16/status/draw-geometry-mirror.png Binary files differnew file mode 100644 index 000000000..f81208b89 --- /dev/null +++ b/share/icons/hicolor/16x16/status/draw-geometry-mirror.png diff --git a/share/icons/hicolor/24x24/actions/Makefile.am b/share/icons/hicolor/24x24/actions/Makefile.am index 88b1f5047..452562436 100644 --- a/share/icons/hicolor/24x24/actions/Makefile.am +++ b/share/icons/hicolor/24x24/actions/Makefile.am @@ -60,6 +60,13 @@ icons_DATA = \ draw-ellipse-whole.png \ draw-eraser.png \ draw-freehand.png \ + draw-geometry-angle-bisector.png \ + draw-geometry-circle-from-radius.png \ + draw-geometry-circle-from-three-points.png \ + draw-geometry-line-parallel.png \ + draw-geometry-line-perpendicular.png \ + draw-geometry-line-segment.png \ + draw-geometry-symmetry.png \ draw-path.png \ draw-polygon.png \ draw-polygon-star.png \ @@ -142,6 +149,7 @@ icons_DATA = \ path-tweak-roughen.png \ path-tweak-shrink.png \ path-union.png \ + randomize.png \ rectangle-make-corners-sharp.png \ selection-bottom.png \ selection-lower.png \ @@ -150,6 +158,7 @@ icons_DATA = \ selection-move-to-layer-below.png \ selection-raise.png \ selection-top.png \ + show-bounding-box.png \ show-dialogs.png \ show-grid.png \ show-guides.png \ diff --git a/share/icons/hicolor/24x24/actions/draw-geometry.png b/share/icons/hicolor/24x24/actions/draw-geometry.png Binary files differnew file mode 100644 index 000000000..db46125f5 --- /dev/null +++ b/share/icons/hicolor/24x24/actions/draw-geometry.png diff --git a/share/icons/hicolor/24x24/actions/show-bounding-box.png b/share/icons/hicolor/24x24/actions/show-bounding-box.png Binary files differnew file mode 100644 index 000000000..f40d1d717 --- /dev/null +++ b/share/icons/hicolor/24x24/actions/show-bounding-box.png diff --git a/share/icons/hicolor/24x24/status/draw-geometry-angle-bisector.png b/share/icons/hicolor/24x24/status/draw-geometry-angle-bisector.png Binary files differnew file mode 100644 index 000000000..69f0b6b7d --- /dev/null +++ b/share/icons/hicolor/24x24/status/draw-geometry-angle-bisector.png diff --git a/share/icons/hicolor/24x24/status/draw-geometry-circle-from-radius.png b/share/icons/hicolor/24x24/status/draw-geometry-circle-from-radius.png Binary files differnew file mode 100644 index 000000000..e42143291 --- /dev/null +++ b/share/icons/hicolor/24x24/status/draw-geometry-circle-from-radius.png diff --git a/share/icons/hicolor/24x24/status/draw-geometry-circle-from-three-points.png b/share/icons/hicolor/24x24/status/draw-geometry-circle-from-three-points.png Binary files differnew file mode 100644 index 000000000..8e323a7a6 --- /dev/null +++ b/share/icons/hicolor/24x24/status/draw-geometry-circle-from-three-points.png diff --git a/share/icons/hicolor/24x24/status/draw-geometry-inactive.png b/share/icons/hicolor/24x24/status/draw-geometry-inactive.png Binary files differnew file mode 100644 index 000000000..16703acb0 --- /dev/null +++ b/share/icons/hicolor/24x24/status/draw-geometry-inactive.png diff --git a/share/icons/hicolor/24x24/status/draw-geometry-line-parallel.png b/share/icons/hicolor/24x24/status/draw-geometry-line-parallel.png Binary files differnew file mode 100644 index 000000000..7002671b7 --- /dev/null +++ b/share/icons/hicolor/24x24/status/draw-geometry-line-parallel.png diff --git a/share/icons/hicolor/24x24/status/draw-geometry-line-perpendicular.png b/share/icons/hicolor/24x24/status/draw-geometry-line-perpendicular.png Binary files differnew file mode 100644 index 000000000..062f7c0d6 --- /dev/null +++ b/share/icons/hicolor/24x24/status/draw-geometry-line-perpendicular.png diff --git a/share/icons/hicolor/24x24/status/draw-geometry-line-segment.png b/share/icons/hicolor/24x24/status/draw-geometry-line-segment.png Binary files differnew file mode 100644 index 000000000..dbc918781 --- /dev/null +++ b/share/icons/hicolor/24x24/status/draw-geometry-line-segment.png diff --git a/share/icons/hicolor/24x24/status/draw-geometry-mirror.png b/share/icons/hicolor/24x24/status/draw-geometry-mirror.png Binary files differnew file mode 100644 index 000000000..7ebd7f7a0 --- /dev/null +++ b/share/icons/hicolor/24x24/status/draw-geometry-mirror.png diff --git a/share/icons/hicolor/scalable/actions/Makefile.am b/share/icons/hicolor/scalable/actions/Makefile.am index 19dc59a74..27ace5faa 100644 --- a/share/icons/hicolor/scalable/actions/Makefile.am +++ b/share/icons/hicolor/scalable/actions/Makefile.am @@ -60,6 +60,7 @@ icons_DATA = \ draw-ellipse-whole.svg \ draw-eraser.svg \ draw-freehand.svg \ + draw-geometry.svg \ draw-path.svg \ draw-polygon-star.svg \ draw-polygon.svg \ @@ -151,6 +152,7 @@ icons_DATA = \ selection-move-to-layer-below.svg \ selection-raise.svg \ selection-top.svg \ + show-bounding-box.svg \ show-dialogs.svg \ show-grid.svg \ show-guides.svg \ diff --git a/share/icons/hicolor/scalable/actions/draw-geometry.svg b/share/icons/hicolor/scalable/actions/draw-geometry.svg new file mode 100644 index 000000000..aa1ca90a0 --- /dev/null +++ b/share/icons/hicolor/scalable/actions/draw-geometry.svg @@ -0,0 +1,339 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="48" + height="48" + id="svg5612" + sodipodi:version="0.32" + inkscape:version="0.46+devel r21158 custom" + version="1.0" + sodipodi:docname="show-bounding-box.svg" + inkscape:output_extension="org.inkscape.output.svg.inkscape"> + <defs + id="defs5614"> + <inkscape:perspective + id="perspective6098" + inkscape:persp3d-origin="0.5 : 0.33333333 : 1" + inkscape:vp_z="1 : 0.5 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_x="0 : 0.5 : 1" + sodipodi:type="inkscape:persp3d" /> + <inkscape:perspective + id="perspective7112" + inkscape:persp3d-origin="0.5 : 0.33333333 : 1" + inkscape:vp_z="1 : 0.5 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_x="0 : 0.5 : 1" + sodipodi:type="inkscape:persp3d" /> + <linearGradient + y2="216.79137" + x2="594.86096" + y1="213.19025" + x1="594.81122" + gradientTransform="matrix(0.29409385,0.2512907,-0.2512907,0.29409385,396.05892,34.899768)" + gradientUnits="userSpaceOnUse" + id="linearGradient7072" + inkscape:collect="always" + xlink:href="/home/tweenk/#linearGradient2888" /> + <linearGradient + id="linearGradient2888"> + <stop + id="stop2889" + offset="0.0000000" + style="stop-color:#ffffff;stop-opacity:1.0000000;" /> + <stop + id="stop2894" + offset="1" + style="stop-color:#8ab3de;stop-opacity:1;" /> + </linearGradient> + <linearGradient + y2="188.54939" + x2="597.30682" + y1="186.63638" + x1="593.31616" + gradientTransform="matrix(0.29409385,0.2512907,-0.2512907,0.29409385,396.05892,33.807458)" + gradientUnits="userSpaceOnUse" + id="linearGradient7069" + inkscape:collect="always" + xlink:href="/home/tweenk/#linearGradient800" /> + <linearGradient + id="linearGradient800"> + <stop + id="stop998" + offset="0" + style="stop-color:#f3ff49;stop-opacity:1;" /> + <stop + id="stop999" + offset="1" + style="stop-color:#ffa01e;stop-opacity:1;" /> + </linearGradient> + <linearGradient + y2="220.8004" + x2="582.49353" + y1="222.34782" + x1="587.95508" + gradientTransform="matrix(0.29409385,0.2512907,-0.2512907,0.29409385,396.05892,33.807458)" + gradientUnits="userSpaceOnUse" + id="linearGradient7065" + inkscape:collect="always" + xlink:href="/home/tweenk/#linearGradient700" /> + <linearGradient + id="linearGradient700"> + <stop + id="stop347" + offset="0" + style="stop-color:#376796;stop-opacity:1;" /> + <stop + id="stop348" + offset="1.0000000" + style="stop-color:#b0dde2;stop-opacity:1.0000000;" /> + </linearGradient> + <linearGradient + y2="204.91603" + x2="599.23779" + y1="195.51875" + x1="593.18744" + gradientTransform="matrix(0.29409385,0.2512907,-0.2512907,0.29409385,396.05892,33.807458)" + gradientUnits="userSpaceOnUse" + id="linearGradient7062" + inkscape:collect="always" + xlink:href="/home/tweenk/#linearGradient800" /> + <linearGradient + id="linearGradient7129"> + <stop + id="stop7131" + offset="0" + style="stop-color:#f3ff49;stop-opacity:1;" /> + <stop + id="stop7133" + offset="1" + style="stop-color:#ffa01e;stop-opacity:1;" /> + </linearGradient> + <linearGradient + y2="221.20036" + x2="602.06982" + y1="220.36362" + x1="606.96155" + gradientTransform="matrix(0.29409385,0.2512907,-0.2512907,0.29409385,396.05892,33.807458)" + gradientUnits="userSpaceOnUse" + id="linearGradient7059" + inkscape:collect="always" + xlink:href="/home/tweenk/#linearGradient700" /> + <linearGradient + id="linearGradient7136"> + <stop + id="stop7138" + offset="0" + style="stop-color:#376796;stop-opacity:1;" /> + <stop + id="stop7140" + offset="1.0000000" + style="stop-color:#b0dde2;stop-opacity:1.0000000;" /> + </linearGradient> + <linearGradient + y2="216.40329" + x2="612.25781" + y1="215.40201" + x1="609.57257" + gradientUnits="userSpaceOnUse" + id="linearGradient7074" + inkscape:collect="always" + xlink:href="/home/tweenk/#linearGradient800" /> + <linearGradient + id="linearGradient7143"> + <stop + id="stop7145" + offset="0" + style="stop-color:#f3ff49;stop-opacity:1;" /> + <stop + id="stop7147" + offset="1" + style="stop-color:#ffa01e;stop-opacity:1;" /> + </linearGradient> + <linearGradient + y2="198.57608" + x2="592.8656" + y1="198.57608" + x1="591.38525" + gradientUnits="userSpaceOnUse" + id="linearGradient7102" + inkscape:collect="always" + xlink:href="/home/tweenk/#linearGradient3480" /> + <linearGradient + id="linearGradient3480"> + <stop + id="stop3482" + offset="0.0000000" + style="stop-color:#646464;stop-opacity:1.0000000;" /> + <stop + id="stop3484" + offset="1.0000000" + style="stop-color:#000000;stop-opacity:1.0000000;" /> + </linearGradient> + <linearGradient + y2="198.57608" + x2="592.8656" + y1="198.57608" + x1="591.38525" + gradientUnits="userSpaceOnUse" + id="linearGradient7153" + inkscape:collect="always" + xlink:href="/home/tweenk/#linearGradient3480" /> + <linearGradient + id="linearGradient7155"> + <stop + id="stop7157" + offset="0.0000000" + style="stop-color:#646464;stop-opacity:1.0000000;" /> + <stop + id="stop7159" + offset="1.0000000" + style="stop-color:#000000;stop-opacity:1.0000000;" /> + </linearGradient> + <linearGradient + xlink:href="#linearGradient3480" + y2="198.57608" + x2="592.8656" + y1="198.57608" + x1="591.38525" + gradientUnits="userSpaceOnUse" + id="linearGradient7287" + inkscape:collect="always" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="1.4" + inkscape:cx="45.016924" + inkscape:cy="27.800766" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="677" + inkscape:window-height="429" + inkscape:window-x="265" + inkscape:window-y="240" /> + <metadata + id="metadata5617"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1"> + <g + id="draw-geometry" + transform="matrix(2,0,0,2,-1007.6823,-471.07083)" + inkscape:label="#g7080"> + <rect + y="235.53542" + x="503.84113" + height="24" + width="24" + id="rect7049" + style="color:#000000;fill:none;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + <path + sodipodi:nodetypes="ccccc" + id="rect6919" + d="m 512.76764,243.3399 9.04823,7.73133 -1.00281,1.17362 -9.04823,-7.73133 c 0.116,-0.72045 0.51121,-1.01974 1.00281,-1.17362 z" + style="color:#000000;fill:url(#linearGradient7072);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.57197958;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + <path + sodipodi:nodetypes="ccccccc" + id="path6913" + d="m 521.76669,239.93433 0.41802,-1.35648 2.27331,-1.90169 1.20466,1.02933 -1.61915,2.59959 -1.12717,0.49472 -1.14967,-0.86547 z" + style="color:#000000;fill:url(#linearGradient7069);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.80000001;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + <path + sodipodi:nodetypes="cccc" + id="path6124" + d="m 507.22246,249.54909 -1.20288,3.01674 2.05323,-2.08949 -0.85021,-0.92719 z" + style="color:#000000;fill:#b6cbe0;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.57197958;stroke-miterlimit:30;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + <path + sodipodi:nodetypes="cccccc" + id="path6904" + d="m 508.07267,250.47628 -0.85021,-0.92719 0.11692,-1.26029 11.89882,-8.27525 -0.25485,2.84225 -10.91068,7.62048 z" + style="color:#000000;fill:url(#linearGradient7065);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.80000001;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + <path + sodipodi:nodetypes="ccccccc" + id="path6908" + d="m 521.6141,239.68707 c -0.86987,-0.31989 -1.7651,-0.27296 -2.37535,0.32361 l -0.25651,2.8496 c -0.64083,1.27305 0.33526,1.8966 1.42451,1.21718 l 2.77469,-0.69791 c 0.49407,-0.69585 0.40078,-1.58745 -0.0509,-2.39676 -0.28341,-0.72585 -0.78316,-1.12526 -1.51642,-1.29572 z" + style="color:#000000;fill:url(#linearGradient7062);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.80000001;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + <path + style="color:#000000;fill:url(#linearGradient7059);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.80000001;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + d="m 514.58867,256.0406 1.04848,0.69516 1.22662,-0.31211 6.31767,-13.0441 -2.76769,0.69513 -5.82508,11.96592 z" + id="path6917" + sodipodi:nodetypes="cccccc" /> + <path + transform="matrix(0.29409385,0.2512907,-0.2512907,0.29409385,396.05892,34.899768)" + d="m 612.62568,215.72934 c 0,2.34615 -0.8357,4.24809 -1.86659,4.24809 -1.03088,0 -1.86658,-1.90194 -1.86658,-4.24809 0,-2.34615 0.8357,-4.24809 1.86658,-4.24809 1.03089,0 1.86659,1.90194 1.86659,4.24809 z" + sodipodi:ry="4.2480874" + sodipodi:rx="1.8665838" + sodipodi:cy="215.72934" + sodipodi:cx="610.75909" + id="path6923" + style="color:#000000;fill:#f7df3a;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.47862911;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + sodipodi:type="arc" /> + <path + transform="matrix(0.29409385,0.2512907,-0.2512907,0.29409385,396.58894,35.35265)" + sodipodi:type="arc" + style="color:#000000;fill:url(#linearGradient7074);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.47862911;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + id="path6925" + sodipodi:cx="610.75909" + sodipodi:cy="215.72934" + sodipodi:rx="1.8665838" + sodipodi:ry="4.2480874" + d="m 612.62568,215.72934 c 0,2.34615 -0.8357,4.24809 -1.86659,4.24809 -1.03088,0 -1.86658,-1.90194 -1.86658,-4.24809 0,-2.34615 0.8357,-4.24809 1.86658,-4.24809 1.03089,0 1.86659,1.90194 1.86659,4.24809 z" /> + <path + transform="matrix(0.67177764,0.57400547,-0.57400547,0.67177764,236.7316,-232.3531)" + d="m 592.86562,198.57608 c 0,0.4088 -0.33139,0.7402 -0.74019,0.7402 -0.4088,0 -0.7402,-0.3314 -0.7402,-0.7402 0,-0.4088 0.3314,-0.7402 0.7402,-0.7402 0.4088,0 0.74019,0.3314 0.74019,0.7402 z" + sodipodi:ry="0.740197" + sodipodi:rx="0.740197" + sodipodi:cy="198.57608" + sodipodi:cx="592.12543" + id="path6927" + style="color:#000000;fill:url(#linearGradient7287);fill-opacity:1;fill-rule:evenodd;stroke:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + sodipodi:type="arc" /> + <path + id="path6947" + d="m 508.31361,248.61207 4.07087,-2.80954" + style="color:#000000;fill:none;stroke:#ffffff;stroke-width:0.40000001;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + <path + style="color:#000000;fill:#b6cbe0;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.57197958;stroke-miterlimit:30;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + d="m 515.63715,256.73576 -2.79207,1.65891 1.74359,-2.35407 1.04848,0.69516 z" + id="path6949" + sodipodi:nodetypes="cccc" /> + <path + id="path6998" + d="m 522.9128,238.97897 1.50906,-1.24867" + style="color:#000000;fill:#f7df3a;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.40000001;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:30;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + <use + x="0" + y="0" + id="use7078" + transform="translate(1.4564128,1.1833354)" + width="1250" + height="540" + xlink:href="/home/tweenk/#path6927" /> + </g> + </g> +</svg> diff --git a/share/icons/hicolor/scalable/actions/show-bounding-box.svg b/share/icons/hicolor/scalable/actions/show-bounding-box.svg new file mode 100644 index 000000000..c46931a5a --- /dev/null +++ b/share/icons/hicolor/scalable/actions/show-bounding-box.svg @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="48" + height="48" + id="svg5612" + sodipodi:version="0.32" + inkscape:version="0.46+devel r21158 custom" + version="1.0" + sodipodi:docname="draw-geometry-symmetry.svg" + inkscape:output_extension="org.inkscape.output.svg.inkscape"> + <defs + id="defs5614" /> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="0.98994949" + inkscape:cx="60.378654" + inkscape:cy="-53.786646" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="677" + inkscape:window-height="429" + inkscape:window-x="337" + inkscape:window-y="125" /> + <metadata + id="metadata5617"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1"> + <rect + style="color:#000000;fill:none;stroke:#0000ff;stroke-width:5.76606178;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:5.76606159, 5.76606159;stroke-dashoffset:0;marker:none;visibility:visible;display:inline" + id="lpetool_show_bbox" + width="26.722939" + height="42.233219" + x="10.638531" + y="2.88375" + inkscape:label="lpetool_show_bbox" /> + </g> +</svg> diff --git a/share/icons/hicolor/scalable/status/Makefile.am b/share/icons/hicolor/scalable/status/Makefile.am index e77495090..b8aa8285e 100644 --- a/share/icons/hicolor/scalable/status/Makefile.am +++ b/share/icons/hicolor/scalable/status/Makefile.am @@ -11,6 +11,14 @@ icons_DATA = \ connector-avoid.svg \ connector-ignore.svg \ draw-eraser-delete-objects.svg \ + draw-geometry-angle-bisector.svg \ + draw-geometry-circle-from-radius.svg \ + draw-geometry-circle-from-three-points.svg \ + draw-geometry-inactive.svg \ + draw-geometry-line-parallel.svg \ + draw-geometry-line-perpendicular.svg \ + draw-geometry-line-segment.svg \ + draw-geometry-mirror.svg \ draw-trace-background.svg \ draw-use-pressure.svg \ draw-use-tilt.svg \ diff --git a/share/icons/hicolor/scalable/status/draw-geometry-angle-bisector.svg b/share/icons/hicolor/scalable/status/draw-geometry-angle-bisector.svg new file mode 100644 index 000000000..319970564 --- /dev/null +++ b/share/icons/hicolor/scalable/status/draw-geometry-angle-bisector.svg @@ -0,0 +1,71 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="48" + height="48" + id="svg5612" + sodipodi:version="0.32" + inkscape:version="0.46+devel r21158 custom" + version="1.0" + sodipodi:docname="draw-geometry-line-perpendicular.svg" + inkscape:output_extension="org.inkscape.output.svg.inkscape"> + <defs + id="defs5614" /> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="1.4" + inkscape:cx="77.136822" + inkscape:cy="-1.7207243" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="675" + inkscape:window-height="429" + inkscape:window-x="339" + inkscape:window-y="125" /> + <metadata + id="metadata5617"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1"> + <g + id="angle_bisector" + inkscape:label="angle_bisector" + transform="matrix(3.3711873,0,0,3.3711873,-2262.9887,-296.3651)"> + <path + sodipodi:nodetypes="cc" + id="path4418-8-1" + d="M 683.5954,101.6495 672.621,88.41118" + style="fill:none;stroke:#da0000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-opacity:0.72727266;stroke-dasharray:none" /> + <path + sodipodi:nodetypes="ccc" + d="m 677.4691,101.0666 -2.6405,-10.1315 9.7457,4.74274" + style="fill:none;stroke:#5a5a5a;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none" + id="path4418-8-1-0" /> + </g> + </g> +</svg> diff --git a/share/icons/hicolor/scalable/status/draw-geometry-circle-from-radius.svg b/share/icons/hicolor/scalable/status/draw-geometry-circle-from-radius.svg new file mode 100644 index 000000000..4bfea854b --- /dev/null +++ b/share/icons/hicolor/scalable/status/draw-geometry-circle-from-radius.svg @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="48" + height="48" + id="svg5612" + sodipodi:version="0.32" + inkscape:version="0.46+devel r21158 custom" + version="1.0" + sodipodi:docname="draw-geometry-circle-from-radius.svg" + inkscape:output_extension="org.inkscape.output.svg.inkscape"> + <defs + id="defs5614" /> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="1.4" + inkscape:cx="58.664837" + inkscape:cy="-9.7753035" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="675" + inkscape:window-height="429" + inkscape:window-x="339" + inkscape:window-y="125" /> + <metadata + id="metadata5617"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1"> + <path + inkscape:label="circle_with_radius" + id="circle_with_radius" + d="m 45.793259,24.192487 c 0,2.88181 -0.572913,5.762508 -1.675716,8.424976 -1.102804,2.662432 -2.734782,5.10459 -4.772244,7.142303 -2.037462,2.037857 -4.479333,3.669476 -7.140977,4.77228 -2.661643,1.102445 -5.541266,1.675358 -8.421247,1.675358 -2.879981,-3.59e-4 -5.75817,-0.573272 -8.418021,-1.676434 C 12.705204,43.428166 10.2662,41.796189 8.2312478,39.758512 6.1962953,37.720763 4.5668275,35.27882 3.4658163,32.616567 2.3648052,29.95435 1.7926092,27.073974 1.7926092,24.192487 c 0,-2.881523 0.572196,-5.761898 1.6732071,-8.424115 C 4.5668275,13.106155 6.1962953,10.664176 8.2312478,8.6264267 10.2662,6.5887136 12.705204,4.9568796 15.365054,3.8539324 c 2.659851,-1.1029471 5.53804,-1.6761469 8.418021,-1.6763262 2.879981,-1.434e-4 5.759604,0.5726979 8.421247,1.6753941 2.661644,1.102732 5.103515,2.7344585 7.140977,4.7721716 2.037462,2.0377491 3.66944,4.4798711 4.772244,7.1423391 1.102803,2.662432 1.675716,5.543131 1.675716,8.424976" + style="fill:none;stroke:#5a5a5a;stroke-width:3.58518767;stroke-linecap:square;stroke-linejoin:bevel;stroke-miterlimit:4.26999998;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:23.2" /> + <path + id="path4418-8-1-0-1-0" + style="fill:none;stroke:#5a5a5a;stroke-width:3.58518767;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none" + d="M 22.980351,24.825129 42.404181,12.675932" + sodipodi:nodetypes="cc" /> + <rect + style="color:#000000;fill:#ff2100;fill-opacity:0.39215692;fill-rule:evenodd;stroke:#d40000;stroke-width:2.31032252;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;display:inline" + id="use5845-6-1-4" + width="9.1430817" + height="9.1735134" + x="18.635113" + y="20.094896" /> + <rect + style="color:#000000;fill:#ff2100;fill-opacity:0.39215692;fill-rule:evenodd;stroke:#d40000;stroke-width:2.31032252;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;display:inline" + id="use5845-6-1-9-8" + width="9.1430817" + height="9.1735134" + x="37.701771" + y="8.0471048" /> + </g> +</svg> diff --git a/share/icons/hicolor/scalable/status/draw-geometry-circle-from-three-points.svg b/share/icons/hicolor/scalable/status/draw-geometry-circle-from-three-points.svg new file mode 100644 index 000000000..60e67f577 --- /dev/null +++ b/share/icons/hicolor/scalable/status/draw-geometry-circle-from-three-points.svg @@ -0,0 +1,86 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="48" + height="48" + id="svg5612" + sodipodi:version="0.32" + inkscape:version="0.46+devel r21158 custom" + version="1.0" + sodipodi:docname="draw-geometry-line-segment.svg" + inkscape:output_extension="org.inkscape.output.svg.inkscape"> + <defs + id="defs5614" /> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="0.98994949" + inkscape:cx="81.290933" + inkscape:cy="47.08426" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="675" + inkscape:window-height="429" + inkscape:window-x="339" + inkscape:window-y="125" /> + <metadata + id="metadata5617"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1"> + <g + id="circle_3pts" + inkscape:label="circle_3pts" + transform="matrix(3.3484942,0,0,3.3484942,-2157.184,-294.21276)"> + <path + style="fill:none;stroke:#5a5a5a;stroke-width:1;stroke-linecap:square;stroke-linejoin:bevel;stroke-miterlimit:4.26999998;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:23.2" + d="m 658.0599,95.55848 c 0,0.80381 -0.1598,1.60731 -0.4674,2.34994 -0.3076,0.74262 -0.7628,1.4238 -1.3311,1.99217 -0.5683,0.56841 -1.2494,1.02351 -1.9918,1.33111 -0.7424,0.3075 -1.5456,0.4673 -2.3489,0.4673 -0.8033,-1e-4 -1.6061,-0.1599 -2.348,-0.4676 -0.7419,-0.3076 -1.4222,-0.7628 -1.9898,-1.33116 -0.5676,-0.56838 -1.0221,-1.2495 -1.3292,-1.99207 -0.3071,-0.74256 -0.4667,-1.54597 -0.4667,-2.34969 0,-0.80373 0.1596,-1.60714 0.4667,-2.3497 0.3071,-0.74256 0.7616,-1.42369 1.3292,-1.99207 0.5676,-0.56837 1.2479,-1.02353 1.9898,-1.33117 0.7419,-0.30764 1.5447,-0.46752 2.348,-0.46757 0.8033,-4e-5 1.6065,0.15974 2.3489,0.46731 0.7424,0.30758 1.4235,0.76271 1.9918,1.33108 0.5683,0.56838 1.0235,1.24955 1.3311,1.99218 0.3076,0.74262 0.4674,1.54612 0.4674,2.34994" + id="path2526" /> + <rect + y="88.512123" + x="648.94171" + height="2.5587261" + width="2.5502379" + id="use5845-6" + style="color:#000000;fill:#ff2100;fill-opacity:0.39215692;fill-rule:evenodd;stroke:#d40000;stroke-width:0.64440769;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;display:inline" /> + <rect + y="94.853058" + x="644.5473" + height="2.5587261" + width="2.5502379" + id="use5845-6-1" + style="color:#000000;fill:#ff2100;fill-opacity:0.39215692;fill-rule:evenodd;stroke:#d40000;stroke-width:0.64440769;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;display:inline" /> + <rect + y="98.055122" + x="655.61548" + height="2.5587261" + width="2.5502379" + id="use5845-6-1-9" + style="color:#000000;fill:#ff2100;fill-opacity:0.39215692;fill-rule:evenodd;stroke:#d40000;stroke-width:0.64440769;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;display:inline" /> + </g> + </g> +</svg> diff --git a/share/icons/hicolor/scalable/status/draw-geometry-inactive.svg b/share/icons/hicolor/scalable/status/draw-geometry-inactive.svg new file mode 100644 index 000000000..98d20949f --- /dev/null +++ b/share/icons/hicolor/scalable/status/draw-geometry-inactive.svg @@ -0,0 +1,79 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="48" + height="48" + id="svg5612" + sodipodi:version="0.32" + inkscape:version="0.46+devel r21158 custom" + version="1.0" + sodipodi:docname="draw-geometry-angle-bisector.svg" + inkscape:output_extension="org.inkscape.output.svg.inkscape"> + <defs + id="defs5614"> + <inkscape:perspective + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="0 : 24 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="48 : 24 : 1" + inkscape:persp3d-origin="24 : 16 : 1" + id="perspective10" /> + <inkscape:perspective + id="perspective7318" + inkscape:persp3d-origin="0.5 : 0.33333333 : 1" + inkscape:vp_z="1 : 0.5 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_x="0 : 0.5 : 1" + sodipodi:type="inkscape:persp3d" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="3.959798" + inkscape:cx="38.213363" + inkscape:cy="24.215702" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="675" + inkscape:window-height="429" + inkscape:window-x="339" + inkscape:window-y="125" /> + <metadata + id="metadata5617"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1"> + <path + style="fill:none;stroke:#000000;stroke-width:9.56148052;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4.26999998;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:23.2" + d="M 12.38258,36.496717 35.973303,12.201886" + id="path6027" /> + <path + style="fill:none;stroke:#000000;stroke-width:9.56148052;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4.26999998;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:23.2" + d="M 36.325166,36.144535 12.030717,12.553972" + id="path6027-1" /> + </g> +</svg> diff --git a/share/icons/hicolor/scalable/status/draw-geometry-line-parallel.svg b/share/icons/hicolor/scalable/status/draw-geometry-line-parallel.svg new file mode 100644 index 000000000..173145ca8 --- /dev/null +++ b/share/icons/hicolor/scalable/status/draw-geometry-line-parallel.svg @@ -0,0 +1,71 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="48" + height="48" + id="svg5612" + sodipodi:version="0.32" + inkscape:version="0.46+devel r21158 custom" + version="1.0" + sodipodi:docname="draw-geometry-circle-from-radius.svg" + inkscape:output_extension="org.inkscape.output.svg.inkscape"> + <defs + id="defs5614" /> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="1.4" + inkscape:cx="87.236266" + inkscape:cy="-9.7753035" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="675" + inkscape:window-height="429" + inkscape:window-x="339" + inkscape:window-y="125" /> + <metadata + id="metadata5617"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1"> + <g + transform="matrix(1.3636206,2.8665468,-2.8665468,1.3636206,-637.49737,-2052.6041)" + id="parallel" + inkscape:label="parallel"> + <path + sodipodi:nodetypes="cc" + d="m 672.4285,92.87286 14.7066,-3.2674" + style="fill:none;stroke:#da0000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-opacity:0.7254902;stroke-dasharray:none" + id="path4418-8-1-0-1-4-4" /> + <path + sodipodi:nodetypes="cc" + d="m 673.2681,96.33213 14.7067,-3.26741" + style="fill:none;stroke:#5a5a5a;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none" + id="path4418-8-1-0-1-4-4-6" /> + </g> + </g> +</svg> diff --git a/share/icons/hicolor/scalable/status/draw-geometry-line-perpendicular.svg b/share/icons/hicolor/scalable/status/draw-geometry-line-perpendicular.svg new file mode 100644 index 000000000..6bb4b5a65 --- /dev/null +++ b/share/icons/hicolor/scalable/status/draw-geometry-line-perpendicular.svg @@ -0,0 +1,71 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="48" + height="48" + id="svg5612" + sodipodi:version="0.32" + inkscape:version="0.46+devel r21158 custom" + version="1.0" + sodipodi:docname="draw-geometry-line-parallel.svg" + inkscape:output_extension="org.inkscape.output.svg.inkscape"> + <defs + id="defs5614" /> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="1.4" + inkscape:cx="77.136822" + inkscape:cy="-1.7207243" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="675" + inkscape:window-height="429" + inkscape:window-x="339" + inkscape:window-y="125" /> + <metadata + id="metadata5617"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1"> + <g + transform="matrix(3.3711919,0,0,3.3711919,-2261.5632,-296.36557)" + id="perp_bisector" + inkscape:label="perp_bisector"> + <path + sodipodi:nodetypes="cc" + id="path4418-8-1-2" + d="M 683.5954,101.6495 672.621,88.41118" + style="fill:none;stroke:#da0000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-opacity:0.72727266;stroke-dasharray:none" /> + <path + sodipodi:nodetypes="cc" + d="m 674.4659,97.31266 7.1053,-5.38872" + style="fill:none;stroke:#5a5a5a;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none" + id="path4418-8-1-0-1" /> + </g> + </g> +</svg> diff --git a/share/icons/hicolor/scalable/status/draw-geometry-line-segment.svg b/share/icons/hicolor/scalable/status/draw-geometry-line-segment.svg new file mode 100644 index 000000000..ea50fe13d --- /dev/null +++ b/share/icons/hicolor/scalable/status/draw-geometry-line-segment.svg @@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="48" + height="48" + id="svg5612" + sodipodi:version="0.32" + inkscape:version="0.46+devel r21158 custom" + version="1.0" + sodipodi:docname="New document 2" + inkscape:output_extension="org.inkscape.output.svg.inkscape"> + <defs + id="defs5614" /> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="2.8" + inkscape:cx="25.172336" + inkscape:cy="13.838306" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="675" + inkscape:window-height="429" + inkscape:window-x="339" + inkscape:window-y="125" /> + <metadata + id="metadata5617"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1"> + <path + sodipodi:nodetypes="cc" + id="path4418-8" + d="M 2.38341,45.4035 42.8451,4.302" + style="fill:none;stroke:#5a5a5a;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none" /> + <rect + style="color:#000000;fill:none;stroke:none;stroke-width:1;marker:none;display:inline" + id="rect4420-5" + width="48" + height="48" + x="0" + y="0" /> + <rect + y="30.572113" + x="9.5507698" + height="7.676178" + width="7.6507139" + id="use5756-0-3" + style="color:#000000;fill:#ff2100;fill-opacity:0.39215692;fill-rule:evenodd;stroke:#d40000;stroke-width:1.93322301;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;display:inline" /> + <use + xlink:href="/home/tweenk/#use5756-0-3" + height="1250" + width="1250" + transform="translate(18.121284,-18.334476)" + id="use5845" + y="0" + x="0" /> + </g> +</svg> diff --git a/share/icons/hicolor/scalable/status/draw-geometry-mirror.svg b/share/icons/hicolor/scalable/status/draw-geometry-mirror.svg new file mode 100644 index 000000000..12564b907 --- /dev/null +++ b/share/icons/hicolor/scalable/status/draw-geometry-mirror.svg @@ -0,0 +1,71 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="48" + height="48" + id="svg5612" + sodipodi:version="0.32" + inkscape:version="0.46+devel r21158 custom" + version="1.0" + sodipodi:docname="draw-geometry-angle-bisector.svg" + inkscape:output_extension="org.inkscape.output.svg.inkscape"> + <defs + id="defs5614" /> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="1.4" + inkscape:cx="77.136822" + inkscape:cy="-1.7207243" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="675" + inkscape:window-height="429" + inkscape:window-x="339" + inkscape:window-y="125" /> + <metadata + id="metadata5617"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1"> + <path + id="path4418-8-1-0-1-4-4-8" + style="fill:none;stroke:#da0000;stroke-width:3.6236248;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-opacity:0.7254902;stroke-dasharray:none" + d="M 24.133369,1.8123469 C 15.527291,27.630802 53.553976,-1.8723662 41.864354,32.393886" + sodipodi:nodetypes="cs" /> + <path + id="path4418-8-1-0-1-4-4-6-5" + style="fill:none;stroke:#5a5a5a;stroke-width:3.6236248;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none" + d="M 7.7794107,3.150311 41.363839,46.188194" + sodipodi:nodetypes="cc" /> + <path + id="path4418-8-1-0-1-4-4-8-5" + style="fill:none;stroke:#da0000;stroke-width:3.6236248;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-opacity:0.7254902;stroke-dasharray:none" + d="M 2.5261018,18.676252 C 29.632806,16.252374 -10.860868,46.714813 28.197632,42.978121" + sodipodi:nodetypes="cs" /> + </g> +</svg> diff --git a/share/icons/icons.svg b/share/icons/icons.svg index fb8301ffb..c36c2d5db 100644 --- a/share/icons/icons.svg +++ b/share/icons/icons.svg @@ -8,7 +8,7 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - inkscape:version="0.46+devel r21147 custom" + inkscape:version="0.46+devel r21165 custom" sodipodi:docname="icons.svg" height="540" width="1250" @@ -4758,6 +4758,170 @@ gradientUnits="userSpaceOnUse" id="linearGradient5828" inkscape:collect="always" /> + <linearGradient + xlink:href="#linearGradient700" + inkscape:collect="always" + id="linearGradient7059" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.29409385,0.2512907,-0.2512907,0.29409385,396.05892,33.807458)" + x1="606.96155" + y1="220.36362" + x2="602.06982" + y2="221.20036" /> + <linearGradient + xlink:href="#linearGradient800" + inkscape:collect="always" + id="linearGradient7062" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.29409385,0.2512907,-0.2512907,0.29409385,396.05892,33.807458)" + x1="593.18744" + y1="195.51875" + x2="599.23779" + y2="204.91603" /> + <linearGradient + xlink:href="#linearGradient700" + inkscape:collect="always" + id="linearGradient7065" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.29409385,0.2512907,-0.2512907,0.29409385,396.05892,33.807458)" + x1="587.95508" + y1="222.34782" + x2="582.49353" + y2="220.8004" /> + <linearGradient + xlink:href="#linearGradient800" + inkscape:collect="always" + id="linearGradient7069" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.29409385,0.2512907,-0.2512907,0.29409385,396.05892,33.807458)" + x1="593.31616" + y1="186.63638" + x2="597.30682" + y2="188.54939" /> + <linearGradient + xlink:href="#linearGradient2888" + inkscape:collect="always" + id="linearGradient7072" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.29409385,0.2512907,-0.2512907,0.29409385,396.05892,34.899768)" + x1="594.81122" + y1="213.19025" + x2="594.86096" + y2="216.79137" /> + <linearGradient + xlink:href="#linearGradient800" + inkscape:collect="always" + id="linearGradient7074" + gradientUnits="userSpaceOnUse" + x1="609.57257" + y1="215.40201" + x2="612.25781" + y2="216.40329" /> + <linearGradient + xlink:href="#linearGradient3480" + inkscape:collect="always" + id="linearGradient7102" + gradientUnits="userSpaceOnUse" + x1="591.38523" + y1="198.57608" + x2="592.86562" + y2="198.57608" /> + <linearGradient + xlink:href="#linearGradient1887" + y2="350.16364" + x2="130.35223" + y1="343.25803" + x1="121.11774" + gradientUnits="userSpaceOnUse" + id="linearGradient2876" + inkscape:collect="always" /> + <linearGradient + xlink:href="#linearGradient5740" + y2="46.339005" + x2="414.26022" + y1="46.338985" + x1="404.67871" + gradientTransform="matrix(1.001797,0,0,0.906445,-290.1978,295.2598)" + gradientUnits="userSpaceOnUse" + id="linearGradient2878" + inkscape:collect="always" /> + <linearGradient + xlink:href="#linearGradient2888" + y2="216.79137" + x2="594.86096" + y1="213.19025" + x1="594.81122" + gradientTransform="matrix(0.14630043,0.27807299,-0.27807299,0.14630043,868.55597,-101.43481)" + gradientUnits="userSpaceOnUse" + id="linearGradient2880" + inkscape:collect="always" /> + <linearGradient + xlink:href="#linearGradient800" + y2="188.54939" + x2="597.30682" + y1="186.63638" + x1="593.31616" + gradientTransform="matrix(0.14630043,0.27807299,-0.27807299,0.14630043,868.88457,-102.25897)" + gradientUnits="userSpaceOnUse" + id="linearGradient2882" + inkscape:collect="always" /> + <linearGradient + xlink:href="#linearGradient700" + y2="220.8004" + x2="582.49353" + y1="222.34782" + x1="587.95508" + gradientTransform="matrix(0.14630043,0.27807299,-0.27807299,0.14630043,868.88457,-102.25897)" + gradientUnits="userSpaceOnUse" + id="linearGradient2884" + inkscape:collect="always" /> + <linearGradient + xlink:href="#linearGradient800" + y2="204.91603" + x2="599.23779" + y1="195.51875" + x1="593.18744" + gradientTransform="matrix(0.14630043,0.27807299,-0.27807299,0.14630043,868.88457,-102.25897)" + gradientUnits="userSpaceOnUse" + id="linearGradient2886" + inkscape:collect="always" /> + <linearGradient + xlink:href="#linearGradient700" + y2="221.20036" + x2="602.06982" + y1="220.36362" + x1="606.96155" + gradientTransform="matrix(0.14630043,0.27807299,-0.27807299,0.14630043,868.88457,-102.25897)" + gradientUnits="userSpaceOnUse" + id="linearGradient2889" + inkscape:collect="always" /> + <linearGradient + xlink:href="#linearGradient800" + y2="216.40329" + x2="612.25781" + y1="215.40201" + x1="609.57257" + gradientUnits="userSpaceOnUse" + id="linearGradient2891" + inkscape:collect="always" /> + <linearGradient + xlink:href="#linearGradient3480" + y2="198.57608" + x2="592.86562" + y1="198.57608" + x1="591.38523" + gradientUnits="userSpaceOnUse" + id="linearGradient2893" + inkscape:collect="always" /> + <linearGradient + xlink:href="#linearGradient1887" + y2="132.82727" + x2="906.64484" + y1="116.86476" + x1="899.69342" + gradientUnits="userSpaceOnUse" + id="linearGradient3740" + inkscape:collect="always" /> </defs> <sodipodi:namedview inkscape:guide-bbox="true" @@ -4771,9 +4935,9 @@ inkscape:window-x="0" inkscape:window-height="737" inkscape:window-width="1024" - inkscape:cy="256.10145" - inkscape:cx="909.72879" - inkscape:zoom="1.3732371" + inkscape:cy="439.31911" + inkscape:cx="846.86933" + inkscape:zoom="2.7464742" gridtolerance="6" snaptogrid="false" showgrid="true" @@ -4786,7 +4950,7 @@ inkscape:object-nodes="true" objecttolerance="11" inkscape:snap-bbox="true" - inkscape:snap-nodes="true" + inkscape:snap-nodes="false" inkscape:bbox-nodes="false" inkscape:bbox-paths="false" inkscape:snap-global="true" @@ -16616,7 +16780,7 @@ http://www.inkscape.org/</dc:description> y="201.7701" /> </g> <g - id="line_segment" + id="draw-geometry-line-segment" transform="translate(733.29,-88.29195)" inkscape:label="line_segment"> <path @@ -16648,7 +16812,7 @@ http://www.inkscape.org/</dc:description> x="0" /> </g> <g - id="circle_3pts" + id="draw-geometry-circle-from-three-points" inkscape:label="circle_3pts" transform="translate(70,0)"> <path @@ -16681,7 +16845,7 @@ http://www.inkscape.org/</dc:description> height="1250" /> </g> <g - id="angle_bisector" + id="draw-geometry-angle-bisector" inkscape:label="angle_bisector" transform="translate(130,0)"> <path @@ -16697,7 +16861,7 @@ http://www.inkscape.org/</dc:description> </g> <g transform="translate(110,2.2e-5)" - id="perp_bisector" + id="draw-geometry-line-perpendicular" inkscape:label="perp_bisector"> <path sodipodi:nodetypes="cc" @@ -16710,27 +16874,9 @@ http://www.inkscape.org/</dc:description> style="fill:none;stroke:#5a5a5a;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:0;stroke-opacity:1;stroke-dasharray:none" id="path4418-8-1-0-1" /> </g> - <g - transform="matrix(0.0624445,0.0603377,-0.0603377,0.0624445,610.8334,51.77973)" - id="draw_lpetool" - inkscape:label="draw_lpetool"> - <path - style="fill:none;stroke:#282828;stroke-width:24.9614296;stroke-linecap:square;stroke-linejoin:bevel;stroke-miterlimit:4.26999998;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:23.2" - d="M 217.7315,315.2462 267.827,551.8707 M 226.7741,311.4371 356.4033,516.4097" - id="path2547-6" - sodipodi:nodetypes="cccc" /> - <path - style="fill:none;stroke:#282828;stroke-width:24.9614296;stroke-linecap:square;stroke-linejoin:bevel;stroke-miterlimit:4.26999998;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:23.2" - d="m 234.3739,296.363 c 0,4.9655 -2.0442,9.9004 -5.555,13.4115 -3.5108,3.5111 -8.4447,5.555 -13.4071,5.5547 -4.9624,-3e-4 -9.892,-2.0447 -13.3983,-5.5558 -3.5064,-3.511 -5.5467,-8.4454 -5.5467,-13.4104 0,-4.9649 2.0403,-9.8993 5.5467,-13.4103 3.5063,-3.5111 8.4359,-5.5555 13.3983,-5.5558 4.9624,-3e-4 9.8963,2.0436 13.4071,5.5547 3.5108,3.511 5.555,8.446 5.555,13.4114" - id="path2551-1" /> - <path - id="path2693-1" - d="m 352.2046,433.1582 c -17.905,17.9062 -39.3617,32.2447 -62.7508,41.9347 -23.389,9.6899 -48.6918,14.7238 -73.9996,14.7223" - style="fill:none;stroke:#282828;stroke-width:24.9614296;stroke-linecap:square;stroke-linejoin:bevel;stroke-miterlimit:4.26999998;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:23.2" /> - </g> <rect style="color:#000000;fill:none;stroke:#0000ff;stroke-width:2.30013371;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:2.3001337, 2.3001337;stroke-dashoffset:0;marker:none;visibility:visible;display:inline" - id="lpetool_show_bbox" + id="show-bounding-box" width="10.66002" height="16.84721" x="865.56531" @@ -16738,7 +16884,7 @@ http://www.inkscape.org/</dc:description> inkscape:label="lpetool_show_bbox" /> <g transform="translate(92.93803,-0.728071)" - id="circle_3pts-5" + id="draw-geometry-circle-from-radius" inkscape:label="circle_3pts"> <path style="fill:none;stroke:#5a5a5a;stroke-width:1;stroke-linecap:square;stroke-linejoin:bevel;stroke-miterlimit:4.26999998;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:23.2" @@ -16769,7 +16915,7 @@ http://www.inkscape.org/</dc:description> </g> <g transform="matrix(0.4295736,0.9030318,-0.9030318,0.4295736,560.3677,-559.0022)" - id="parallel" + id="draw-geometry-line-parallel" inkscape:label="parallel"> <path sodipodi:nodetypes="cc" @@ -16783,7 +16929,7 @@ http://www.inkscape.org/</dc:description> id="path4418-8-1-0-1-4-4-6" /> </g> <g - id="all_inactive_old" + id="draw-geometry-inactive" inkscape:label="all_inactive_old" transform="translate(50.20458,0)"> <rect @@ -16795,12 +16941,12 @@ http://www.inkscape.org/</dc:description> style="color:#000000;fill:none;stroke:none;stroke-width:3;marker:none;visibility:visible;display:inline" /> <path id="path6027" - d="m 619.1741,101.3114 7.4018,-7.62272" - style="fill:none;stroke:#cb0000;stroke-width:3;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4.26999998;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:23.2" /> + d="m 617.64905,102.88197 10.4519,-10.763857" + style="fill:none;stroke:#000000;stroke-width:4.23622561;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4.26999998;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:23.2" /> <path id="path6027-1" - d="m 626.6863,101.2009 -7.6226,-7.40175" - style="fill:none;stroke:#cb0000;stroke-width:3;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4.26999998;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:23.2" /> + d="M 628.25684,102.72593 617.49316,92.274104" + style="fill:none;stroke:#000000;stroke-width:4.23622561;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4.26999998;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:23.2" /> </g> <text xml:space="preserve" @@ -16816,7 +16962,7 @@ http://www.inkscape.org/</dc:description> y="103.43147">none</tspan></text> <g transform="matrix(0.4295736,0.9030318,-0.9030318,0.4295736,624.3677,-559.0021)" - id="mirror_symmetry" + id="draw-geometry-mirror" inkscape:label="mirror_symmetry"> <path sodipodi:nodetypes="cs" @@ -19261,4 +19407,247 @@ http://www.inkscape.org/</dc:description> id="object-rows" y="0" x="0" /> + <g + id="draw-geometry" + transform="translate(82.158875,-154.53542)" + inkscape:label="#g7080"> + <rect + y="235.53542" + x="503.84113" + height="24" + width="24" + id="rect7049" + style="color:#000000;fill:none;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + <path + sodipodi:nodetypes="ccccc" + id="rect6919" + d="m 512.76764,243.3399 9.04823,7.73133 -1.00281,1.17362 -9.04823,-7.73133 c 0.116,-0.72045 0.51121,-1.01974 1.00281,-1.17362 z" + style="color:#000000;fill:url(#linearGradient7072);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.57197958;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + <path + sodipodi:nodetypes="ccccccc" + id="path6913" + d="m 521.76669,239.93433 0.41802,-1.35648 2.27331,-1.90169 1.20466,1.02933 -1.61915,2.59959 -1.12717,0.49472 -1.14967,-0.86547 z" + style="color:#000000;fill:url(#linearGradient7069);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.8;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + <path + sodipodi:nodetypes="cccc" + id="path6124" + d="m 507.22246,249.54909 -1.20288,3.01674 2.05323,-2.08949 -0.85021,-0.92719 z" + style="color:#000000;fill:#b6cbe0;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.57197958;stroke-miterlimit:30;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + <path + sodipodi:nodetypes="cccccc" + id="path6904" + d="m 508.07267,250.47628 -0.85021,-0.92719 0.11692,-1.26029 11.89882,-8.27525 -0.25485,2.84225 -10.91068,7.62048 z" + style="color:#000000;fill:url(#linearGradient7065);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.8;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + <path + sodipodi:nodetypes="ccccccc" + id="path6908" + d="m 521.6141,239.68707 c -0.86987,-0.31989 -1.7651,-0.27296 -2.37535,0.32361 l -0.25651,2.8496 c -0.64083,1.27305 0.33526,1.8966 1.42451,1.21718 l 2.77469,-0.69791 c 0.49407,-0.69585 0.40078,-1.58745 -0.0509,-2.39676 -0.28341,-0.72585 -0.78316,-1.12526 -1.51642,-1.29572 z" + style="color:#000000;fill:url(#linearGradient7062);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.8;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + <path + style="color:#000000;fill:url(#linearGradient7059);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.8;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + d="m 514.58867,256.0406 1.04848,0.69516 1.22662,-0.31211 6.31767,-13.0441 -2.76769,0.69513 -5.82508,11.96592 z" + id="path6917" + sodipodi:nodetypes="cccccc" /> + <path + transform="matrix(0.29409385,0.2512907,-0.2512907,0.29409385,396.05892,34.899768)" + d="m 612.62568,215.72934 c 0,2.34615 -0.8357,4.24809 -1.86659,4.24809 -1.03088,0 -1.86658,-1.90194 -1.86658,-4.24809 0,-2.34615 0.8357,-4.24809 1.86658,-4.24809 1.03089,0 1.86659,1.90194 1.86659,4.24809 z" + sodipodi:ry="4.2480874" + sodipodi:rx="1.8665838" + sodipodi:cy="215.72934" + sodipodi:cx="610.75909" + id="path6923" + style="color:#000000;fill:#f7df3a;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.47862911;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + sodipodi:type="arc" /> + <path + transform="matrix(0.29409385,0.2512907,-0.2512907,0.29409385,396.58894,35.35265)" + sodipodi:type="arc" + style="color:#000000;fill:url(#linearGradient7074);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.47862911;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + id="path6925" + sodipodi:cx="610.75909" + sodipodi:cy="215.72934" + sodipodi:rx="1.8665838" + sodipodi:ry="4.2480874" + d="m 612.62568,215.72934 c 0,2.34615 -0.8357,4.24809 -1.86659,4.24809 -1.03088,0 -1.86658,-1.90194 -1.86658,-4.24809 0,-2.34615 0.8357,-4.24809 1.86658,-4.24809 1.03089,0 1.86659,1.90194 1.86659,4.24809 z" /> + <path + transform="matrix(0.67177764,0.57400547,-0.57400547,0.67177764,236.7316,-232.3531)" + d="m 592.86562,198.57608 c 0,0.4088 -0.33139,0.7402 -0.74019,0.7402 -0.4088,0 -0.7402,-0.3314 -0.7402,-0.7402 0,-0.4088 0.3314,-0.7402 0.7402,-0.7402 0.4088,0 0.74019,0.3314 0.74019,0.7402 z" + sodipodi:ry="0.740197" + sodipodi:rx="0.740197" + sodipodi:cy="198.57608" + sodipodi:cx="592.12543" + id="path6927" + style="color:#000000;fill:url(#linearGradient7102);fill-opacity:1;fill-rule:evenodd;stroke:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + sodipodi:type="arc" /> + <path + id="path6947" + d="m 508.31361,248.61207 4.07087,-2.80954" + style="color:#000000;fill:none;stroke:#ffffff;stroke-width:0.40000001;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + <path + style="color:#000000;fill:#b6cbe0;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.57197958;stroke-miterlimit:30;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + d="m 515.63715,256.73576 -2.79207,1.65891 1.74359,-2.35407 1.04848,0.69516 z" + id="path6949" + sodipodi:nodetypes="cccc" /> + <path + id="path6998" + d="m 522.9128,238.97897 1.50906,-1.24867" + style="color:#000000;fill:#f7df3a;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.40000001;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:30;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + <use + xlink:href="#path6927" + height="540" + width="1250" + transform="translate(1.4564128,1.1833354)" + id="use7078" + y="0" + x="0" /> + </g> + <g + id="dialog-geometry" + inkscape:label="#g2858" + transform="translate(2.0000007,7.2467919e-6)"> + <g + transform="matrix(1.5000667,0,0,1.4950108,711.15574,-419.4617)" + id="g2770"> + <rect + y="338.80829" + x="115.5577" + height="11.99987" + width="14.99917" + id="rect2772" + style="color:#000000;fill:url(#linearGradient2876);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.66776335;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;display:inline" /> + <rect + y="335.7579" + x="115.5588" + height="3.011261" + width="14.99819" + id="rect2774" + style="color:#000000;fill:url(#linearGradient2878);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.66776329;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;display:inline" /> + </g> + <path + style="color:#000000;fill:url(#linearGradient2880);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.46460122;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + d="m 893.90864,90.944372 4.50115,8.555326 -1.10969,0.583832 -4.50114,-8.555327 c 0.30425,-0.508689 0.69248,-0.615615 1.10968,-0.583831 z" + id="path2794" + sodipodi:nodetypes="ccccc" /> + <path + style="color:#000000;fill:url(#linearGradient2882);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.64981508;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + d="m 901.723,91.082024 0.72346,-0.897722 2.28732,-0.750961 0.59927,1.139035 -2.00369,1.474323 -0.99929,0.03418 -0.60707,-0.998859 z" + id="path2796" + sodipodi:nodetypes="ccccccc" /> + <path + style="color:#000000;fill:#b6cbe0;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.46460122;stroke-miterlimit:30;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + d="m 887.85685,93.9611 -1.8151,1.914293 2.17775,-0.958865 -0.36256,-0.95534 z" + id="path2798" + sodipodi:nodetypes="cccc" /> + <path + style="color:#000000;fill:url(#linearGradient2884);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.64981508;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + d="m 888.21942,94.916441 -0.36257,-0.955341 0.46735,-0.915725 11.4672,-2.664223 -1.04732,2.067833 -10.52466,2.467456 z" + id="path2800" + sodipodi:nodetypes="cccccc" /> + <path + style="color:#000000;fill:url(#linearGradient2886);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.64981508;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + d="m 901.68225,90.849561 c -0.56009,-0.503042 -1.24967,-0.736945 -1.88957,-0.470409 l -1.05079,2.072879 c -0.86648,0.767746 -0.31759,1.531856 0.70864,1.346907 l 2.30348,0.308131 c 0.58211,-0.376393 0.77994,-1.077177 0.68261,-1.823687 0.005,-0.632917 -0.25239,-1.084615 -0.75436,-1.433815 z" + id="path2802" + sodipodi:nodetypes="ccccccc" /> + <path + sodipodi:nodetypes="cccccc" + id="path2804" + d="m 891.46188,101.07497 0.58196,0.83992 1.01939,0.13351 8.69078,-7.941331 -2.29736,-0.308122 -7.99477,7.276023 z" + style="color:#000000;fill:url(#linearGradient2889);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.64981508;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + <path + sodipodi:type="arc" + style="color:#000000;fill:#f7df3a;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.47862911;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + id="path2806" + sodipodi:cx="610.75909" + sodipodi:cy="215.72934" + sodipodi:rx="1.8665838" + sodipodi:ry="4.2480874" + d="m 612.62568,215.72934 c 0,2.34615 -0.8357,4.24809 -1.86659,4.24809 -1.03088,0 -1.86658,-1.90194 -1.86658,-4.24809 0,-2.34615 0.8357,-4.24809 1.86658,-4.24809 1.03089,0 1.86659,1.90194 1.86659,4.24809 z" + transform="matrix(0.14630043,0.27807299,-0.27807299,0.14630043,868.55597,-101.43481)" /> + <path + d="m 612.62568,215.72934 c 0,2.34615 -0.8357,4.24809 -1.86659,4.24809 -1.03088,0 -1.86658,-1.90194 -1.86658,-4.24809 0,-2.34615 0.8357,-4.24809 1.86658,-4.24809 1.03089,0 1.86659,1.90194 1.86659,4.24809 z" + sodipodi:ry="4.2480874" + sodipodi:rx="1.8665838" + sodipodi:cy="215.72934" + sodipodi:cx="610.75909" + id="path2808" + style="color:#000000;fill:url(#linearGradient2891);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.47862911;stroke-opacity:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + sodipodi:type="arc" + transform="matrix(0.14630043,0.27807299,-0.27807299,0.14630043,868.81964,-100.93366)" /> + <path + sodipodi:type="arc" + style="color:#000000;fill:url(#linearGradient2893);fill-opacity:1;fill-rule:evenodd;stroke:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + id="path2810" + sodipodi:cx="592.12543" + sodipodi:cy="198.57608" + sodipodi:rx="0.740197" + sodipodi:ry="0.740197" + d="m 592.86562,198.57608 c 0,0.4088 -0.33139,0.7402 -0.74019,0.7402 -0.4088,0 -0.7402,-0.3314 -0.7402,-0.7402 0,-0.4088 0.3314,-0.7402 0.7402,-0.7402 0.4088,0 0.74019,0.3314 0.74019,0.7402 z" + transform="matrix(0.33418365,0.63518235,-0.63518235,0.33418365,828.73985,-351.00961)" /> + <path + style="color:#000000;fill:none;stroke:#ffffff;stroke-width:0.32490754;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + d="m 888.96202,93.582362 3.91669,-0.895182" + id="path2812" /> + <path + sodipodi:nodetypes="cccc" + id="path2814" + d="m 892.04384,101.91489 -2.60569,0.41172 2.02373,-1.25164 0.58196,0.83992 z" + style="color:#000000;fill:#b6cbe0;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.46460122;stroke-miterlimit:30;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + <path + style="color:#000000;fill:#f7df3a;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.32490754;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:30;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + d="m 902.87514,90.705982 1.51424,-0.488162" + id="path2816" /> + <use + xlink:href="#path6927" + x="0" + y="0" + id="use2818" + transform="matrix(0.75450792,0.30082971,-0.30082971,0.75450792,580.96816,-245.58228)" + width="1250" + height="540" /> + </g> + <g + id="draw-geometry-set-bounding-box" + inkscape:label="#g3679"> + <rect + style="color:#000000;fill:none;stroke:#0000ff;stroke-width:2.30013371;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:2.3001337, 2.3001337;stroke-dashoffset:0;marker:none;visibility:visible;display:inline" + id="rect2895" + width="10.66002" + height="16.84721" + x="865.15009" + y="115.15007" + inkscape:label="lpetool_show_bbox" /> + <path + id="path2897" + d="m 860,120 0,7.85252 3.99063,-3.99062 L 860,120 z" + style="color:#000000;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.40000001;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + <path + style="color:#000000;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.40000001;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + d="m 881,120 0,7.85252 -3.99063,-3.99062 L 881,120 z" + id="path3677" /> + </g> + <g + id="draw-geometry-show-measuring-info" + transform="translate(23.01003,-32.10901)" + inkscape:label="#g3731"> + <path + style="color:#000000;fill:url(#linearGradient3740);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.99999923;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dashoffset:0;marker:none;display:inline" + d="m 891.48997,114.60901 22.99994,0 6e-5,14.42552 -4.18179,0 -4.60727,8.57448 -0.61997,-8.57448 -13.59082,0 -1.5e-4,-14.42552 z" + id="rect5189-6" + sodipodi:nodetypes="cccccccc" /> + <g + id="text3706" + style="font-size:8.74605656px;writing-mode:lr-tb"> + <path + id="path3719" + d="m 895.99405,119.29585 c -0.84773,-0.0207 -1.20026,0.90061 -1.27292,1.60217 -0.0917,1.04553 -0.16819,2.19733 0.35882,3.14607 0.41648,0.73692 1.61508,0.62486 1.91767,-0.15314 0.43913,-1.01113 0.38314,-2.17037 0.23062,-3.23901 -0.11066,-0.63205 -0.47841,-1.38829 -1.23419,-1.35609 z m 0,-0.68328 c 0.95681,-0.0602 1.75787,0.70179 1.98172,1.59211 0.31196,1.15879 0.31439,2.42417 -0.0466,3.572 -0.25633,0.88825 -1.128,1.55578 -2.06715,1.44765 -1.03314,0.005 -1.76992,-0.9324 -1.93065,-1.88214 -0.22337,-1.20675 -0.23824,-2.52448 0.29066,-3.65638 0.3215,-0.67313 1.02532,-1.10265 1.77201,-1.07324 z" /> + <path + id="path3721" + d="m 899.71795,124.01907 c 0.30036,0 0.60073,0 0.90109,0 0,0.36157 0,0.72314 0,1.08471 -0.30036,0 -0.60073,0 -0.90109,0 0,-0.36157 0,-0.72314 0,-1.08471 z" /> + <path + id="path3723" + d="m 903.24542,124.37779 c 1.00357,0 2.00715,0 3.01072,0 0,0.242 0,0.48399 0,0.72599 -1.34949,0 -2.69897,0 -4.04846,0 0,-0.242 0,-0.48399 0,-0.72599 0.95244,-1.03556 2.05014,-1.94675 2.88394,-3.08493 0.43708,-0.57314 0.32843,-1.53951 -0.39176,-1.82918 -0.82389,-0.32425 -1.72065,0.0454 -2.44948,0.44286 0,-0.2904 0,-0.58079 0,-0.87119 1.07463,-0.45607 2.49913,-0.71183 3.45362,0.13582 0.78212,0.71284 0.60707,1.99676 -0.072,2.7189 -0.75829,0.86206 -1.59084,1.65991 -2.38662,2.48772 z" /> + <path + id="path3725" + d="m 910.68469,121.666 c 0.89363,0.12497 1.4826,1.05773 1.2925,1.92328 -0.0941,1.00279 -1.11367,1.5906 -2.04198,1.62018 -0.72256,0.0699 -1.45173,-0.0589 -2.13313,-0.29781 0,-0.27759 0,-0.55517 0,-0.83276 0.83664,0.45611 1.92451,0.60201 2.80073,0.17757 0.80169,-0.43444 0.69059,-1.81155 -0.19684,-2.08095 -0.48076,-0.18386 -1.00008,-0.10942 -1.50209,-0.12512 0,-0.2363 0,-0.47261 0,-0.70891 0.6676,-0.0288 1.50939,0.14892 1.9565,-0.47536 0.4177,-0.66094 -0.14468,-1.53437 -0.90782,-1.51097 -0.66571,-0.0681 -1.33009,0.0928 -1.95831,0.2995 0,-0.25623 0,-0.51247 0,-0.7687 1.08005,-0.28661 2.40764,-0.52909 3.35334,0.23188 0.80208,0.64443 0.62653,2.14224 -0.3992,2.46393 l -0.12785,0.0456 -0.13585,0.0387" /> + </g> + </g> </svg> diff --git a/src/lpe-tool-context.cpp b/src/lpe-tool-context.cpp index d3fb332e5..be465e324 100644 --- a/src/lpe-tool-context.cpp +++ b/src/lpe-tool-context.cpp @@ -54,15 +54,16 @@ void sp_lpetool_context_selection_changed(Inkscape::Selection *selection, gpoint const int num_subtools = 8; -Inkscape::LivePathEffect::EffectType lpesubtools[] = { - Inkscape::LivePathEffect::INVALID_LPE, // this must be here to account for the "all inactive" action - Inkscape::LivePathEffect::LINE_SEGMENT, - Inkscape::LivePathEffect::CIRCLE_3PTS, - Inkscape::LivePathEffect::CIRCLE_WITH_RADIUS, - Inkscape::LivePathEffect::PARALLEL, - Inkscape::LivePathEffect::PERP_BISECTOR, - Inkscape::LivePathEffect::ANGLE_BISECTOR, - Inkscape::LivePathEffect::MIRROR_SYMMETRY, +SubtoolEntry lpesubtools[] = { + // this must be here to account for the "all inactive" action + {Inkscape::LivePathEffect::INVALID_LPE, "draw-geometry-inactive"}, + {Inkscape::LivePathEffect::LINE_SEGMENT, "draw-geometry-line-segment"}, + {Inkscape::LivePathEffect::CIRCLE_3PTS, "draw-geometry-circle-from-three-points"}, + {Inkscape::LivePathEffect::CIRCLE_WITH_RADIUS, "draw-geometry-circle-from-radius"}, + {Inkscape::LivePathEffect::PARALLEL, "draw-geometry-line-parallel"}, + {Inkscape::LivePathEffect::PERP_BISECTOR, "draw-geometry-line-perpendicular"}, + {Inkscape::LivePathEffect::ANGLE_BISECTOR, "draw-geometry-angle-bisector"}, + {Inkscape::LivePathEffect::MIRROR_SYMMETRY, "draw-geometry-mirror"} }; static SPPenContextClass *lpetool_parent_class = 0; @@ -285,7 +286,7 @@ sp_lpetool_context_root_handler(SPEventContext *event_context, GdkEvent *event) Inkscape::Preferences *prefs = Inkscape::Preferences::get(); int mode = prefs->getInt("/tools/lpetool/mode"); - EffectType type = lpesubtools[mode]; + EffectType type = lpesubtools[mode].type; //bool over_stroke = lc->shape_editor->is_over_stroke(Geom::Point(event->button.x, event->button.y), true); @@ -365,7 +366,7 @@ sp_lpetool_context_root_handler(SPEventContext *event_context, GdkEvent *event) int lpetool_mode_to_index(Inkscape::LivePathEffect::EffectType const type) { for (int i = 0; i < num_subtools; ++i) { - if (lpesubtools[i] == type) { + if (lpesubtools[i].type == type) { return i; } } diff --git a/src/lpe-tool-context.h b/src/lpe-tool-context.h index 320fa5189..8a52ba97c 100644 --- a/src/lpe-tool-context.h +++ b/src/lpe-tool-context.h @@ -30,7 +30,12 @@ class SPLPEToolContextClass; /* This is the list of subtools from which the toolbar of the LPETool is built automatically */ extern const int num_subtools; -extern Inkscape::LivePathEffect::EffectType lpesubtools[]; +struct SubtoolEntry { + Inkscape::LivePathEffect::EffectType type; + gchar const *icon_name; +}; + +extern SubtoolEntry lpesubtools[]; enum LPEToolState { LPETOOL_STATE_PEN, diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 0f880e1be..ce2260451 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -5347,7 +5347,7 @@ static void sp_lpetool_mode_changed(EgeSelectOneAction *act, GObject *tbl) g_object_set_data(tbl, "freeze", GINT_TO_POINTER(TRUE)); gint mode = ege_select_one_action_get_active(act); - EffectType type = lpesubtools[mode]; + EffectType type = lpesubtools[mode].type; SPLPEToolContext *lc = SP_LPETOOL_CONTEXT(desktop->event_context); bool success = lpetool_try_construction(lc, type); @@ -5566,17 +5566,17 @@ static void sp_lpetool_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActi gtk_list_store_set( model, &iter, 0, _("All inactive"), 1, _("No geometric tool is active"), - 2, _("all_inactive"), + 2, _("draw-geometry-inactive"), -1 ); Inkscape::LivePathEffect::EffectType type; for (int i = 1; i < num_subtools; ++i) { // we start with i = 1 because INVALID_LPE was already added - type = lpesubtools[i]; + type = lpesubtools[i].type; gtk_list_store_append( model, &iter ); gtk_list_store_set( model, &iter, 0, Inkscape::LivePathEffect::LPETypeConverter.get_label(type).c_str(), 1, Inkscape::LivePathEffect::LPETypeConverter.get_label(type).c_str(), - 2, Inkscape::LivePathEffect::LPETypeConverter.get_key(type).c_str(), + 2, lpesubtools[i].icon_name, -1 ); } @@ -5600,7 +5600,7 @@ static void sp_lpetool_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActi InkToggleAction* act = ink_toggle_action_new( "LPEShowBBoxAction", _("Show limiting bounding box"), _("Show bounding box (used to cut infinite lines)"), - "lpetool_show_bbox", + "show-bounding-box", Inkscape::ICON_SIZE_DECORATION ); gtk_action_group_add_action( mainActions, GTK_ACTION( act ) ); g_signal_connect_after( G_OBJECT(act), "toggled", G_CALLBACK(lpetool_toggle_show_bbox), desktop ); |
