← Back to team overview

kicad-developers team mailing list archive

Fwd: [PATCH] new measurement (caliper) icon

 

gentle reminder.

Sorry I do not want to be insistent at all it is just that I will loose
track of these patches.

Regards
Fabrizio

---------- Forwarded message ----------
From: Fabrizio Tappero <fabrizio.tappero@xxxxxxxxx>
Date: Wed, Mar 22, 2017 at 4:47 PM
Subject: [PATCH] new measurement (caliper) icon
To: KiCad Developers <kicad-developers@xxxxxxxxxxxxxxxxxxx>


This patch is an importuned version of the measurement icon (caliper)

thanks

Fabrzio
diff --git a/bitmaps_png/cpp_26/measurement.cpp b/bitmaps_png/cpp_26/measurement.cpp
index 8031f1f..023e0a0 100644
--- a/bitmaps_png/cpp_26/measurement.cpp
+++ b/bitmaps_png/cpp_26/measurement.cpp
@@ -7,16 +7,31 @@
 
 static const unsigned char png[] = {
  0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
- 0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x1a, 0x08, 0x04, 0x00, 0x00, 0x00, 0x03, 0x43, 0x84,
- 0x45, 0x00, 0x00, 0x00, 0x76, 0x49, 0x44, 0x41, 0x54, 0x38, 0xcb, 0x63, 0x60, 0x18, 0x2a, 0x20,
- 0x35, 0x01, 0x3b, 0x1b, 0x2f, 0x48, 0xfb, 0x92, 0xaa, 0x0d, 0xd5, 0xa2, 0x9d, 0xf6, 0x85, 0x58,
- 0x4d, 0xff, 0xd3, 0xae, 0xc6, 0x72, 0x33, 0x30, 0xc4, 0x72, 0xa7, 0x5d, 0x4d, 0xfb, 0x4f, 0xbc,
- 0xa6, 0xff, 0xe9, 0xf3, 0x19, 0x18, 0xd2, 0xe7, 0x83, 0x58, 0x24, 0x68, 0x02, 0x29, 0x86, 0xd1,
- 0x78, 0x81, 0xdd, 0x25, 0xe3, 0xff, 0xa4, 0x41, 0xa0, 0x26, 0xe3, 0xff, 0x17, 0x49, 0x84,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0x0f, 0x8a, 0xb0, 0xe0, 0xfb, 0xfd, 0xef, 0xff,
+ 0x8f, 0xff, 0x50, 0xf0, 0xf3, 0xe7, 0xcf, 0x1f, 0x30, 0x8b, 0x4c, 0x4d, 0x4d, 0x95, 0xa8, 0x53,
+ 0x8a, 0x2f, 0xf8, 0xb8, 0x1c, 0x64, 0xd1, 0xaf, 0xbf, 0x98, 0x16, 0x01, 0xeb, 0xa4, 0x8d, 0xd4,
+ 0xab, 0x5d, 0x67, 0xbe, 0xe3, 0x07, 0x5a, 0xf4, 0x10, 0x8b, 0x45, 0xcf, 0x81, 0x58, 0x84, 0xba,
+ 0x55, 0xf9, 0x82, 0x8f, 0xde, 0x3f, 0xff, 0xfe, 0x7f, 0x0f, 0xb4, 0xe3, 0x3b, 0x08, 0x03, 0x2d,
+ 0x7a, 0x0f, 0x8c, 0x1b, 0xbf, 0x21, 0xd3, 0xb0, 0x02, 0x00, 0x19, 0xe9, 0x9a, 0x8a, 0x19, 0x88,
+ 0x19, 0xc3, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
 };
 
 const BITMAP_OPAQUE measurement_xpm[1] = {{ png, sizeof( png ), "measurement_xpm" }};

diff --git a/bitmaps_png/sources/measurement.svg b/bitmaps_png/sources/measurement.svg
index f821f10..1627adb 100644
--- a/bitmaps_png/sources/measurement.svg
+++ b/bitmaps_png/sources/measurement.svg
@@ -11,7 +11,7 @@
    width="26"
    version="1.1"
    id="svg2"
-   inkscape:version="0.92.1 r"
+   inkscape:version="0.91 r"
    sodipodi:docname="measurement.svg">
   <metadata
      id="metadata50">
@@ -21,7 +21,7 @@
         <dc:format>image/svg+xml</dc:format>
         <dc:type
            rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
-        <dc:title />
+        <dc:title></dc:title>
       </cc:Work>
     </rdf:RDF>
   </metadata>
@@ -34,15 +34,15 @@
      guidetolerance="10"
      inkscape:pageopacity="0"
      inkscape:pageshadow="2"
-     inkscape:window-width="1146"
+     inkscape:window-width="1759"
      inkscape:window-height="964"
      id="namedview48"
-     showgrid="false"
-     inkscape:zoom="1"
-     inkscape:cx="18.568355"
-     inkscape:cy="20.983557"
-     inkscape:window-x="768"
-     inkscape:window-y="96"
+     showgrid="true"
+     inkscape:zoom="2.8284271"
+     inkscape:cx="-18.180338"
+     inkscape:cy="-28.127013"
+     inkscape:window-x="155"
+     inkscape:window-y="89"
      inkscape:window-maximized="0"
      inkscape:current-layer="svg2"
      inkscape:snap-to-guides="false"
@@ -50,91 +50,45 @@
      showguides="true"
      inkscape:guide-bbox="true"
      inkscape:measure-start="5,19"
-     inkscape:measure-end="14,12">
+     inkscape:measure-end="14,12"
+     borderlayer="true">
     <inkscape:grid
        type="xygrid"
-       id="grid3006"
-       empspacing="5"
-       visible="true"
-       enabled="true"
-       snapvisiblegridlinesonly="true" />
+       id="grid4147" />
   </sodipodi:namedview>
   <defs
      id="defs4" />
-  <path
-     style="fill:#666666;fill-rule:evenodd"
-     d="m 2,10 v 9 l 2,2 H 5 V 10 H 4"
-     id="path9597"
-     inkscape:connector-curvature="0"
-     sodipodi:nodetypes="cccccc" />
-  <path
-     sodipodi:nodetypes="cccccc"
-     inkscape:connector-curvature="0"
-     id="path9599"
-     d="m 15,10 v 9 l -2,2 H 12 V 10 h 1"
-     style="fill:#666666;fill-rule:evenodd" />
-  <path
-     style="fill:#666666;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;st
-     d="M 8,9 H 5 V 3 l 3,4 z"
-     id="path9621"
-     inkscape:connector-curvature="0"
-     sodipodi:nodetypes="ccccc" />
-  <path
-     inkscape:connector-curvature="0"
-     id="path9623"
-     d="m 9,9 h 3 V 3 L 9,7 Z"
-     style="fill:#666666;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;st
-     sodipodi:nodetypes="ccccc" />
-  <path
-     style="opacity:1;fill:#d1d1d1;fill-opacity:1;stroke:none;stroke-width:1"
-     d="M 1.4999999,8.5 H 26 v 5 H 1.4999999 Z"
-     id="rect9595"
-     inkscape:connector-curvature="0"
-     sodipodi:nodetypes="ccccc" />
-  <path
-     style="fill:none;fill-rule:evenodd;stroke:#333333;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;st
-     d="m 21.5,10 v 3"
-     id="path9601"
-     inkscape:connector-curvature="0" />
-  <path
-     inkscape:connector-curvature="0"
-     id="path9603"
-     d="m 18.5,11 v 2"
-     style="fill:none;fill-rule:evenodd;stroke:#333333;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stro
-  <path
-     inkscape:connector-curvature="0"
-     id="path9605"
-     d="m 15.5,10 v 3"
-     style="fill:none;fill-rule:evenodd;stroke:#333333;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;st
-  <path
-     style="fill:none;fill-rule:evenodd;stroke:#333333;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stro
-     d="m 12.5,11 v 2"
-     id="path9607"
-     inkscape:connector-curvature="0" />
-  <path
-     inkscape:connector-curvature="0"
-     id="path9609"
-     d="m 9.5,10 v 3"
-     style="fill:none;fill-rule:evenodd;stroke:#333333;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;st
-  <path
-     style="fill:none;fill-rule:evenodd;stroke:#333333;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stro
-     d="m 6.5,11 v 2"
-     id="path9611"
-     inkscape:connector-curvature="0" />
-  <path
-     style="fill:none;fill-rule:evenodd;stroke:#333333;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;st
-     d="m 3.5,10 v 3"
-     id="path9613"
-     inkscape:connector-curvature="0" />
-  <path
-     style="opacity:1;fill:none;fill-opacity:1;stroke:#333333;stroke-width:1"
-     d="M 26,13.5 H 1.7613635 c -0.1447954,0 -0.2613636,-0.1115 -0.2613636,-0.25 v -4.5 c 0,-0.1385 0.1165682,-0.25 
-     id="rect9617"
-     inkscape:connector-curvature="0"
-     sodipodi:nodetypes="cssssc" />
-  <path
-     style="fill:none;fill-rule:evenodd;stroke:#333333;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stro
-     d="m 24.5,11 v 2"
-     id="path9625"
-     inkscape:connector-curvature="0" />
+  <g
+     id="g4269">
+    <path
+       sodipodi:nodetypes="ccccc"
+       inkscape:connector-curvature="0"
+       id="path4229"
+       d="m 14.983534,5 2.027727,0 -0.02112,2.0277282 -2.006605,-0.021122 z"
+       style="fill:#00a1f1;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.30000001;stroke-linecap:butt;
+    <rect
+       y="20.053328"
+       x="5.03125"
+       height="4.9116116"
+       width="3.9375"
+       id="rect4231"
+       style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.30000001;stroke-lin
+    <path
+       sodipodi:nodetypes="cccccccccccc"
+       inkscape:connector-curvature="0"
+       id="path4225"
+       d="m 6.0220971,3.0498253 0.022097,7.6490487 19.9794728,0.0047 -0.02556,3.696059 L 5,14.304917 5.0274587,24.99
+       style="fill:#00a1f1;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.30000001;stroke-linecap:butt;
+    <path
+       inkscape:connector-curvature="0"
+       id="path4250"
+       d="M 8,3 8,10 23,10 23,9 22,8 10,8 Z"
+       style="fill:#333333;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;
+    <path
+       sodipodi:nodetypes="cccccccc"
+       inkscape:connector-curvature="0"
+       id="path4252"
+       d="M 8.9722718,25.044194 8.9722718,15 23,15 l 0,1 -1.994369,2.038563 -9.027728,-0.04419 -0.961437,4.049825 z"
+       style="fill:#333333;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-
+  </g>
 </svg>


Follow ups

References