Icons: pixel alignment

This commit is contained in:
Michael Kavanagh 2021-01-27 17:17:25 +00:00 committed by Jeff Young
parent 66bb6e2e7c
commit 8e74f4a98f
2 changed files with 119 additions and 69 deletions

View File

@ -8,43 +8,29 @@
static const unsigned char png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18, 0x08, 0x06, 0x00, 0x00, 0x00, 0xe0, 0x77, 0x3d,
0xf8, 0x00, 0x00, 0x02, 0x31, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0x63, 0x60, 0x18, 0x05, 0xc4,
0x82, 0xd0, 0xd0, 0xd0, 0x4d, 0x41, 0x41, 0x41, 0x32, 0x34, 0xb3, 0x20, 0x24, 0x24, 0xe4, 0x1f,
0x10, 0x5b, 0x8d, 0x5a, 0x40, 0xb2, 0x05, 0xc1, 0xc1, 0xc1, 0x2e, 0x40, 0xf1, 0x6d, 0x40, 0x7c,
0x1a, 0x88, 0x67, 0x00, 0xe3, 0x4a, 0x9a, 0x6a, 0x16, 0x00, 0x0d, 0x0b, 0x04, 0x8a, 0xfd, 0x02,
0xe2, 0x29, 0x40, 0x76, 0x3e, 0x90, 0x3e, 0x06, 0xb4, 0xf0, 0x11, 0x90, 0x2d, 0x4a, 0xae, 0x05,
0x6e, 0x51, 0x51, 0x51, 0x82, 0x30, 0x0c, 0xe4, 0xdf, 0x06, 0x1a, 0x56, 0x0d, 0x53, 0x93, 0x96,
0x96, 0xc6, 0x0a, 0x14, 0xbb, 0x0a, 0x14, 0xab, 0x23, 0xd7, 0x82, 0xff, 0xe8, 0x18, 0x68, 0x98,
0x19, 0x5a, 0x90, 0x4d, 0x4e, 0xf1, 0x0b, 0x5c, 0xb7, 0x4f, 0xcd, 0xb1, 0x6d, 0xbf, 0x9a, 0xd3,
0xa5, 0xfd, 0x6a, 0x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x40, 0xe0, 0xcd, 0xde, 0x63, 0xe8, 0x16, 0xfc, 0x06, 0xba,
0xde, 0x87, 0xac, 0x52, 0x17, 0x6a, 0x09, 0xc4, 0x27, 0xc0, 0x24, 0x79, 0xd8, 0xc4, 0xef, 0xff,
0x21, 0x03, 0x2f, 0x64, 0xc3, 0x3f, 0xed, 0x53, 0x77, 0x0c, 0xa3, 0xa8, 0xee, 0x38, 0xa4, 0x69,
0x2b, 0x09, 0x8d, 0x93, 0xf3, 0x40, 0x0c, 0x2a, 0x97, 0x7e, 0xed, 0x57, 0x75, 0xbc, 0x0c, 0x2a,
0x00, 0x41, 0x72, 0xc8, 0x6a, 0x01, 0x73, 0xea, 0xf3, 0x06, 0xcf, 0xd5, 0x51, 0xd6, 0x00, 0x00,
0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
0xf8, 0x00, 0x00, 0x01, 0x4f, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0x63, 0x60, 0x18, 0x05, 0xc4,
0x80, 0x90, 0x90, 0x90, 0xc3, 0x20, 0x4c, 0x4b, 0x0b, 0xfe, 0x83, 0xf0, 0xc8, 0xb4, 0x60, 0xaf,
0x8a, 0x93, 0xd1, 0x7e, 0x35, 0xc7, 0xed, 0x07, 0xd4, 0x1c, 0xdf, 0x02, 0xe9, 0xd7, 0xfb, 0xd5,
0x9c, 0x36, 0xef, 0x51, 0x71, 0xd6, 0xa2, 0x8a, 0x05, 0x07, 0x95, 0xed, 0x64, 0x81, 0x86, 0xbe,
0x03, 0xe2, 0x7f, 0xfb, 0x55, 0x1d, 0xf7, 0x03, 0xe9, 0x23, 0x40, 0xfc, 0x1f, 0x88, 0x9f, 0xef,
0xd0, 0x76, 0x17, 0x22, 0x68, 0x41, 0x50, 0x50, 0x90, 0x0c, 0x50, 0x7c, 0x39, 0x10, 0x3f, 0x03,
0xe2, 0xa7, 0x40, 0xbc, 0x0c, 0x24, 0x06, 0x93, 0xdf, 0xa7, 0xe6, 0x58, 0x04, 0x36, 0x50, 0xd5,
0xa1, 0x1f, 0x26, 0x06, 0xb4, 0x68, 0x09, 0x48, 0x0c, 0x28, 0x17, 0x87, 0xd7, 0x82, 0x88, 0x88,
0x08, 0x59, 0xa0, 0xd8, 0x1b, 0x98, 0x1c, 0x12, 0x7e, 0x03, 0xb3, 0x64, 0xbf, 0x82, 0x83, 0xc0,
0x1e, 0x35, 0x17, 0xa5, 0x23, 0xea, 0xd6, 0xbc, 0x30, 0x7d, 0xc0, 0xa0, 0xaa, 0x84, 0xf8, 0xc2,
0xa1, 0x18, 0xaf, 0x05, 0x50, 0x97, 0x83, 0xc4, 0xb7, 0x81, 0x0c, 0x84, 0xfa, 0x66, 0x1b, 0x54,
0x6c, 0x19, 0xb6, 0x20, 0xdb, 0xef, 0xe0, 0xc0, 0x02, 0x34, 0xf8, 0x14, 0xd8, 0x07, 0xea, 0x8e,
0xd6, 0x18, 0x16, 0x60, 0xc3, 0x20, 0x9f, 0xa0, 0xf9, 0x0a, 0x24, 0xfe, 0x14, 0x9b, 0x05, 0xfb,
0x54, 0x1d, 0xa7, 0x41, 0x82, 0xcc, 0x69, 0x35, 0xd6, 0x48, 0xc6, 0x86, 0x91, 0xc3, 0x1c, 0x9f,
0x05, 0xc0, 0x30, 0x6f, 0x83, 0x46, 0xf0, 0xee, 0xcd, 0x52, 0xbe, 0x5c, 0x04, 0x53, 0x11, 0x28,
0x18, 0x60, 0x41, 0x04, 0x32, 0x18, 0x6a, 0x38, 0x38, 0x88, 0x82, 0x83, 0x83, 0x97, 0x22, 0xab,
0xdd, 0xa6, 0xe2, 0xc9, 0x07, 0x34, 0xf8, 0x37, 0x38, 0xa9, 0x02, 0xe3, 0x85, 0xa8, 0x7c, 0x00,
0x0d, 0x73, 0xbc, 0x91, 0x0c, 0x03, 0xbb, 0xd4, 0x5d, 0xa5, 0x80, 0x16, 0xac, 0x02, 0x86, 0x7f,
0x3b, 0x49, 0x19, 0x0d, 0x6a, 0xc9, 0x32, 0x68, 0x12, 0x7d, 0x0a, 0x72, 0x39, 0xba, 0xe1, 0x74,
0x29, 0x2a, 0x80, 0x29, 0x46, 0x1d, 0x18, 0x3c, 0x77, 0x81, 0x3e, 0x58, 0x47, 0x13, 0x0b, 0x0e,
0x6a, 0xd8, 0xe9, 0x82, 0x22, 0x18, 0x68, 0xc9, 0xc9, 0xe1, 0x5b, 0x9a, 0xd2, 0xb6, 0xc2, 0x19,
0x05, 0xf8, 0x00, 0x00, 0xbc, 0xfd, 0x04, 0x72, 0x19, 0xfd, 0x40, 0x9e, 0x00, 0x00, 0x00, 0x00,
0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
};
const BITMAP_OPAQUE pin_show_etype_xpm[1] = {{ png, sizeof( png ), "pin_show_etype_xpm" }};

View File

@ -1,39 +1,103 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns:dc="http://purl.org/dc/elements/1.1/"
<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" id="Слой_1" data-name="Слой 1" viewBox="0 0 24 24" version="1.1" sodipodi:docname="pin_show_etype.svg" inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)">
<sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="1609" inkscape:window-height="1286" id="namedview30" showgrid="true" inkscape:zoom="27.961538" inkscape:cx="3.3259971" inkscape:cy="13" inkscape:window-x="0" inkscape:window-y="37" inkscape:window-maximized="0" inkscape:document-rotation="0" inkscape:current-layer="Слой_1">
<inkscape:grid type="xygrid" id="grid_kicad" spacingx="0.5" spacingy="0.5" color="#9999ff" opacity="0.13" empspacing="2" />
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="Слой_1"
data-name="Слой 1"
viewBox="0 0 24 24"
version="1.1"
sodipodi:docname="pin_show_etype.svg"
inkscape:version="1.0.1 (c497b03c, 2020-09-10)">
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1280"
inkscape:window-height="715"
id="namedview30"
showgrid="true"
inkscape:zoom="18.278062"
inkscape:cx="11.12381"
inkscape:cy="11.379579"
inkscape:window-x="0"
inkscape:window-y="23"
inkscape:window-maximized="0"
inkscape:document-rotation="0"
inkscape:current-layer="Слой_1">
<inkscape:grid
type="xygrid"
id="grid_kicad"
spacingx="0.5"
spacingy="0.5"
color="#9999ff"
opacity="0.13"
empspacing="2" />
</sodipodi:namedview>
<metadata id="metadata43">
<metadata
id="metadata43">
<rdf:RDF>
<cc:Work rdf:about="">
<cc:license rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
<cc:Work
rdf:about="">
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>add_arc</dc:title>
</cc:Work>
<cc:License rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
<cc:permits rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:requires rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires rdf:resource="http://creativecommons.org/ns#Attribution" />
<cc:permits rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
<cc:requires rdf:resource="http://creativecommons.org/ns#ShareAlike" />
<cc:License
rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
</cc:License>
</rdf:RDF>
</metadata>
<defs id="defs159073">
<style id="style159071">.cls-1{fill:#b9b9b9;}.cls-2{fill:#545454;}.cls-3{fill:#bf2641;}.cls-4{fill:#fff;}</style>
<defs
id="defs159073">
<style
id="style159071">.cls-1{fill:#b9b9b9;}.cls-2{fill:#545454;}.cls-3{fill:#bf2641;}.cls-4{fill:#fff;}</style>
</defs>
<title id="title159075">pin_show_etype</title>
<path class="cls-2" d="M 7.3241,11.1359 H 3.23 a 0.6119,0.6119 0 0 1 0,-1.2237 h 4.0941 a 0.6119,0.6119 0 0 1 0,1.2237 z" id="path159079" />
<path class="cls-2" d="m 10.3266,13.8892 a 3.3652,3.3652 0 1 1 3.3652,-3.3652 3.3694,3.3694 0 0 1 -3.3652,3.3652 z m 0,-5.5067 a 2.1415,2.1415 0 1 0 2.1415,2.1415 2.1441,2.1441 0 0 0 -2.1415,-2.1415 z" id="path159081" />
<path class="cls-2" d="M 2.0037,17.233 V 3.772 a 0.6119,0.6119 0 0 1 1.2237,0 v 13.461 a 0.6119,0.6119 0 0 1 -1.2237,0 z" id="path159083" />
<path class="cls-3" d="M 24.0065,17 A 7.0065,7.0065 0 1 1 17,10 a 7.0032,7.0032 0 0 1 7.0065,7 z" id="path159085" />
<path class="cls-4" d="m 15.9332,19.1182 a 3.4488,3.4488 0 0 1 0.2364,-1.4659 4.2208,4.2208 0 0 1 1.0156,-1.1084 6.5544,6.5544 0 0 0 0.8867,-1.0429 1.96,1.96 0 0 0 0.3291,-1.101 1.4789,1.4789 0 0 0 -0.376,-1.0791 1.427,1.427 0 0 0 -1.0693,-0.3838 1.5777,1.5777 0 0 0 -1.0078,0.3262 1.1511,1.1511 0 0 0 -0.415,0.9648 H 13.859 l -0.0215,-0.043 a 2.37,2.37 0 0 1 0.8545,-1.99 3.4705,3.4705 0 0 1 2.2637,-0.7129 3.346,3.346 0 0 1 2.3428,0.7666 2.7414,2.7414 0 0 1 0.84,2.13 2.9558,2.9558 0 0 1 -0.5254,1.6885 6.51,6.51 0 0 1 -1.3273,1.4227 1.6386,1.6386 0 0 0 -0.5108,0.6817 3.2688,3.2688 0 0 0 -0.1035,0.9463 z M 17.7,22.0723 H 15.9264 V 20.4014 H 17.7 Z" id="path159087" />
<title
id="title159075">pin_show_etype</title>
<path
class="cls-4"
d="M 17.830812,14.654576 A 3.825444,3.9056565 0 0 1 18.09303,12.994491 4.6817545,4.7799219 0 0 1 19.219543,11.739264 7.2702073,7.4226497 0 0 0 20.20308,10.558212 2.1740521,2.2196377 0 0 0 20.568121,9.3113641 1.640411,1.6748074 0 0 0 20.151058,8.0893184 1.5828429,1.6160322 0 0 0 18.96498,7.6546769 1.7500011,1.7866952 0 0 0 17.847118,8.024088 1.2768118,1.3035841 0 0 0 17.386795,9.1166933 h -1.856706 l -0.02385,-0.048696 a 2.6288282,2.6839497 0 0 1 0.947821,-2.2536118 3.849514,3.9302309 0 0 1 2.510917,-0.8073366 3.7114174,3.7892388 0 0 1 2.598658,0.86815 3.0407887,3.1045483 0 0 1 0.931737,2.4121575 3.2786034,3.3473495 0 0 1 -0.582779,1.9121726 7.2209585,7.3723682 0 0 1 -1.472255,1.611162 1.8175519,1.8556624 0 0 0 -0.566585,0.772004 3.6257864,3.7018121 0 0 0 -0.114803,1.071654 z M 19.790564,18 H 17.82327 v -1.892242 h 1.967294 z"
id="path159087"
style="fill:#bf2641;fill-opacity:1;stroke-width:0.999997" />
<path
style="fill:none;stroke:#545454;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 2,4 V 20"
id="path845"
sodipodi:nodetypes="cc" />
<path
style="fill:none;stroke:#545454;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
d="m 2.5,12 h 5"
id="path847" />
<ellipse
style="fill:none;fill-opacity:1;stroke:#545454;stroke-width:2.00001;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path849"
cx="10"
cy="12"
rx="2.999995"
ry="2.9999948" />
</svg>

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB