More images to SVG

This commit is contained in:
Matthias Koefferlein 2022-09-17 01:40:02 +02:00
parent f598348046
commit 85af2d35e8
5 changed files with 155 additions and 2 deletions

View File

@ -151,7 +151,7 @@ PluginDeclaration::implements_editable (std::string &title) const
bool
PluginDeclaration::implements_mouse_mode (std::string &title) const
{
title = "ruler:ruler_mode_group:ruler_templates_group\t" + tl::to_string (tr ("Ruler{Add rulers and annotations}")) + "<:ruler.png>";
title = "ruler:ruler_mode_group:ruler_templates_group\t" + tl::to_string (tr ("Ruler{Add rulers and annotations}")) + "<:ruler_24px.png>";
return true;
}

View File

@ -185,7 +185,8 @@
<file alias="pythonmacroicon_16px@2x.png">images/pythonmacroicon_16px@2x.png</file>
<file alias="pythonmacroiconactive_16px.png">images/pythonmacroiconactive_16px.png</file>
<file alias="pythonmacroiconactive_16px@2x.png">images/pythonmacroiconactive_16px@2x.png</file>
<file alias="ruler.png">images/ruler.png</file>
<file alias="ruler_24px.png">images/ruler_24px.png</file>
<file alias="ruler_24px@2x.png">images/ruler_24px@2x.png</file>
<file alias="debug_16px.png">images/debug_16px.png</file>
<file alias="debug_16px@2x.png">images/debug_16px@2x.png</file>
<file alias="bug.png">images/bug.png</file>

Binary file not shown.

After

Width:  |  Height:  |  Size: 679 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -0,0 +1,152 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="24"
height="24"
viewBox="0 0 6.3499998 6.3500002"
version="1.1"
id="svg1011"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
sodipodi:docname="ruler_24px.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1013"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:document-units="px"
showgrid="true"
units="px"
inkscape:snap-nodes="true"
inkscape:snap-bbox="true"
inkscape:bbox-nodes="true"
inkscape:snap-others="false"
inkscape:zoom="17.288462"
inkscape:cx="-1.272525"
inkscape:cy="6.21802"
inkscape:window-width="1535"
inkscape:window-height="1081"
inkscape:window-x="101"
inkscape:window-y="138"
inkscape:window-maximized="0"
inkscape:current-layer="layer1"
width="24px">
<inkscape:grid
type="xygrid"
id="grid1074"
spacingx="0.13229167"
spacingy="0.13229167"
empspacing="2" />
</sodipodi:namedview>
<defs
id="defs1008">
<linearGradient
id="linearGradient3600">
<stop
style="stop-color:#ff9f3f;stop-opacity:1;"
offset="0"
id="stop3602" />
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="1"
id="stop3604" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3600"
id="linearGradient1484"
x1="3.4395833"
y1="3.7041667"
x2="2.778125"
y2="3.1750002"
gradientUnits="userSpaceOnUse" />
</defs>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<path
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.529167;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.5"
d="M 1.4552084,6.2177085 0.13229167,4.8947918 4.8947918,0.13229168 6.2177085,1.4552084 Z"
id="path1623"
sodipodi:nodetypes="ccccc" />
<rect
style="fill:none;stroke:#865b26;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect3596"
width="6.3499994"
height="6.3499999"
x="5.0000006e-07"
y="5.0000006e-07"
inkscape:export-filename="/home/matthias/klayout/master/src/lay/lay/images/back.png"
inkscape:export-xdpi="27.093315"
inkscape:export-ydpi="27.093315" />
<path
style="fill:url(#linearGradient1484);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.13229167;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
d="M 1.4552084,6.2177085 0.13229167,4.8947918 4.8947918,0.13229167 6.2177085,1.4552084 Z"
id="path859"
sodipodi:nodetypes="ccccc" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 0.92604166,4.1010416 1.5875,4.7625"
id="path865"
sodipodi:nodetypes="cc" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 0.52916663,4.4979167 0.79375002,4.7625001"
id="path865-3"
sodipodi:nodetypes="cc" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 1.3229166,3.7041667 1.5875,3.9687501"
id="path865-3-6"
sodipodi:nodetypes="cc" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 2.1166667,2.9104167 2.3812501,3.1750001"
id="path865-3-6-7"
sodipodi:nodetypes="cc" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 2.9104167,2.1166667 3.1750001,2.3812501"
id="path865-3-6-7-5"
sodipodi:nodetypes="cc" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 3.7041667,1.3229166 3.9687501,1.5875"
id="path865-3-6-7-5-3"
sodipodi:nodetypes="cc" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 4.5366642,0.49041922 0.2645834,0.2645834"
id="path865-3-6-7-5-3-5"
sodipodi:nodetypes="cc" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 1.7197916,3.3072916 2.38125,3.96875"
id="path3352"
sodipodi:nodetypes="cc" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 2.5135416,2.5135416 3.175,3.175"
id="path3354"
sodipodi:nodetypes="cc" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 3.3072916,1.7197915 3.96875,2.3812499"
id="path3356"
sodipodi:nodetypes="cc" />
<path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 4.1010417,0.92604161 4.7625001,1.5875"
id="path3358"
sodipodi:nodetypes="cc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.0 KiB