From a76bc63e4dd51201387a59c8540ef3f93a46fd23 Mon Sep 17 00:00:00 2001 From: vocx-fc Date: Fri, 14 Feb 2020 22:56:04 -0600 Subject: [PATCH] Draft: angle dimension icon saved as plain SVG As discussed in the previous request, the icon is saved as Plain SVG, meaning that Inkscape-specific tags are removed. This is better for compatibility purposes for use with other SVG editors and viewers. --- .../icons/Draft_DimensionAngular.svg | 564 ++++++------------ src/Mod/Draft/draftutils/messages.py | 0 2 files changed, 197 insertions(+), 367 deletions(-) mode change 100755 => 100644 src/Mod/Draft/draftutils/messages.py diff --git a/src/Mod/Draft/Resources/icons/Draft_DimensionAngular.svg b/src/Mod/Draft/Resources/icons/Draft_DimensionAngular.svg index 7b317da2b5..265ef551d3 100644 --- a/src/Mod/Draft/Resources/icons/Draft_DimensionAngular.svg +++ b/src/Mod/Draft/Resources/icons/Draft_DimensionAngular.svg @@ -1,6 +1,4 @@ - - + height="64px" + width="64px"> - - + id="stop3838" /> + id="stop3840" /> - - - + offset="0" /> + offset="1" /> - + id="radialGradient3688" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1,0,0,0.6985294,0,202.82863)" + cx="225.26402" + cy="672.79736" + fx="225.26402" + fy="672.79736" + r="34.345188" /> + style="stop-color:#0619c0;stop-opacity:1;" /> + style="stop-color:#379cfb;stop-opacity:1;" /> + style="stop-color:#ffaa00;stop-opacity:1;" /> + style="stop-color:#faff2b;stop-opacity:1;" /> - + id="stop5050" /> + style="stop-color:black;stop-opacity:1;" /> + id="stop5052" /> + fx="20.892099" + r="5.256" + cy="114.5684" + cx="20.892099" + id="aigrd2"> + offset="0" /> + offset="1.0000000" /> + fx="20.892099" + r="5.257" + cy="64.567902" + cx="20.892099" + id="aigrd3"> + offset="0" /> + offset="1.0000000" /> + id="stop15664" /> + id="stop15666" /> + fx="33.966679" + cy="35.736916" + cx="33.966679" + gradientTransform="matrix(0.96049297,0,0,1.041132,-52.144249,-702.33158)" + gradientUnits="userSpaceOnUse" + id="radialGradient4452" + xlink:href="#linearGradient259" /> + id="stop260" /> + id="stop261" /> + fx="8.824419" + cy="3.7561285" + cx="8.824419" + gradientTransform="matrix(0.96827297,0,0,1.032767,-48.790699,-701.68513)" + gradientUnits="userSpaceOnUse" + id="radialGradient4454" + xlink:href="#linearGradient269" /> + id="stop270" /> + id="stop271" /> - + id="stop4097" /> + id="stop4099" /> - - + id="linearGradient4253" + x1="394.15784" + y1="185.1304" + x2="434.73947" + y2="140.22731" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.94231826,0,0,0.94231826,23.727549,8.8262536)" /> + id="stop4249" /> + id="stop4251" /> - - + style="stop-color:#c4a000;stop-opacity:1" /> + style="stop-color:#fce94f;stop-opacity:1" /> + id="linearGradient3905"> + id="stop3907" /> + id="stop3909" /> + id="linearGradient6349"> + id="stop6351" /> + id="stop6353" /> + id="stop3379-6" /> + id="stop3381-7" /> - + id="linearGradient3383" + x1="901.1875" + y1="1190.875" + x2="1267.9062" + y2="1190.875" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(-1,0,0,1,2199.356,0)" /> + id="radialGradient6355" + cx="1103.6399" + cy="1424.4465" + fx="1103.6399" + fy="1424.4465" + r="194.40614" + gradientTransform="matrix(-1.4307499,-1.3605156e-7,-1.202713e-8,0.1264801,2674.7488,1244.2826)" + gradientUnits="userSpaceOnUse" /> + id="linearGradient3899" + x1="35" + y1="50" + x2="31" + y2="16" + gradientUnits="userSpaceOnUse" /> + id="stop4079" /> + id="stop4081" /> - + xlink:href="#linearGradient3042" /> + xlink:href="#linearGradient3042" /> + x2="155.01889" + y1="675.04034" + x1="230.03166" + gradientUnits="userSpaceOnUse" + id="linearGradient1686" + xlink:href="#linearGradient4077" /> - - - - + id="layer1"> + transform="translate(-105.44439,-136.22016)"> + d="m 142.44439,148.22016 1,-3 c 18,11 18,30 9,44 l -2,-3 c 6,-13 6,-26 -8,-38 z" + style="fill:#ffffff;fill-opacity:1;stroke:#2e3436;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + x="-119.126" + height="35.958912" + width="3.6304414" + id="rect3151-2-4-8" + style="fill:#ffffff;fill-opacity:1;stroke:#2e3436;stroke-width:2.00757003;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + x="196.73561" + height="39.232121" + width="3.7239122" + id="rect3151-2-4-7-6" + style="fill:#ffffff;fill-opacity:1;stroke:#2e3436;stroke-width:2.00002265;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + style="fill:#333333;fill-opacity:1" /> + style="fill:#333333;fill-opacity:1"> + id="path4250-71-7" + d="M -25.459643,6.3070256 A 9.1609585,9.1605407 0.02042846 1 1 -11.54333,18.224065 9.1609585,9.1605407 0.02042846 1 1 -25.459643,6.3070256 Z" /> + id="path4250-7-3-4" + d="m -22.932948,8.4748746 a 5.8316609,5.8316612 0 1 1 8.858783,7.5865014 5.8316609,5.8316612 0 0 1 -8.858783,-7.5865014 z" /> + style="fill:#333333;fill-opacity:1"> + id="path4250-71-2-2" + d="M -25.459643,6.3070256 A 9.1609585,9.1605407 0.02042846 1 1 -11.54333,18.224065 9.1609585,9.1605407 0.02042846 1 1 -25.459643,6.3070256 Z" /> + id="path4250-7-3-0-5" + d="m -22.932948,8.4748746 a 5.8316609,5.8316612 0 1 1 8.858783,7.5865014 5.8316609,5.8316612 0 0 1 -8.858783,-7.5865014 z" /> + cx="-201.45859" + transform="rotate(-139.51099)" + id="path2901-3" + style="fill:url(#linearGradient1686);fill-opacity:1;stroke:#000000;stroke-width:1.99999988;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> image/svg+xml - Draft_FlipDimension + Wed Nov 13 19:25:01 2013 -0200 diff --git a/src/Mod/Draft/draftutils/messages.py b/src/Mod/Draft/draftutils/messages.py old mode 100755 new mode 100644