Add bezier icon

Fixes https://gitlab.com/kicad/code/kicad/issues/16830
This commit is contained in:
Seth Hillbrand 2024-02-14 02:00:01 +01:00
parent f73d45b0cf
commit 0775d1364a
16 changed files with 266 additions and 0 deletions

View File

@ -494,6 +494,7 @@ BITMAPS LIB_SHAPE::GetMenuImage() const
case SHAPE_T::CIRCLE: return BITMAPS::add_circle; case SHAPE_T::CIRCLE: return BITMAPS::add_circle;
case SHAPE_T::RECTANGLE: return BITMAPS::add_rectangle; case SHAPE_T::RECTANGLE: return BITMAPS::add_rectangle;
case SHAPE_T::POLY: return BITMAPS::add_graphical_segments; case SHAPE_T::POLY: return BITMAPS::add_graphical_segments;
case SHAPE_T::BEZIER: return BITMAPS::add_bezier;
default: default:
UNIMPLEMENTED_FOR( SHAPE_T_asString() ); UNIMPLEMENTED_FOR( SHAPE_T_asString() );

View File

@ -470,6 +470,7 @@ BITMAPS SCH_SHAPE::GetMenuImage() const
case SHAPE_T::CIRCLE: return BITMAPS::add_circle; case SHAPE_T::CIRCLE: return BITMAPS::add_circle;
case SHAPE_T::RECTANGLE: return BITMAPS::add_rectangle; case SHAPE_T::RECTANGLE: return BITMAPS::add_rectangle;
case SHAPE_T::POLY: return BITMAPS::add_graphical_segments; case SHAPE_T::POLY: return BITMAPS::add_graphical_segments;
case SHAPE_T::BEZIER: return BITMAPS::add_bezier;
default: default:
UNIMPLEMENTED_FOR( SHAPE_T_asString() ); UNIMPLEMENTED_FOR( SHAPE_T_asString() );

View File

@ -41,6 +41,7 @@ enum class BITMAPS : unsigned int
about, about,
add_aligned_dimension, add_aligned_dimension,
add_arc, add_arc,
add_bezier,
add_board, add_board,
add_bus, add_bus,
add_bus2bus, add_bus2bus,

View File

@ -158,6 +158,7 @@ set( BMAPS_MID
about about
add_aligned_dimension add_aligned_dimension
add_arc add_arc
add_bezier
add_board add_board
add_bus2bus add_bus2bus
add_bus add_bus

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 687 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 687 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 379 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 443 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 686 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -0,0 +1,131 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
id="Слой_1"
data-name="Слой 1"
viewBox="0 0 24 24"
version="1.1"
sodipodi:docname="add_bezier.svg"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="3156"
inkscape:window-height="1669"
id="namedview30"
showgrid="true"
inkscape:zoom="31.34512"
inkscape:cx="-0.82947522"
inkscape:cy="15.074117"
inkscape:window-x="0"
inkscape:window-y="38"
inkscape:window-maximized="0"
inkscape:document-rotation="0"
inkscape:current-layer="Слой_1"
inkscape:showpageshadow="2"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1">
<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">
<rdf:RDF>
<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:title>add_line</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:RDF>
</metadata>
<defs
id="defs342">
<style
id="style340">.cls-1{fill:none;stroke:#1a81c4;stroke-linecap:round;stroke-linejoin:round;}</style>
</defs>
<title
id="title344">add_line</title>
<path
id="line346"
style="fill:none;fill-opacity:1;stroke:#42b8eb;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 18,3 c 0,0 2.5,8.5 -6.5,8.5 C 2.5,11.5 6,21 6,21"
class="cls-1"
sodipodi:nodetypes="csc" />
<ellipse
style="fill:#ffffff;fill-opacity:1;stroke:#42b8eb;stroke-width:1;stroke-linecap:round;stroke-dasharray:none;stroke-opacity:1"
id="path4797"
cx="18"
cy="3"
rx="1.5"
ry="1.4999999" />
<circle
style="fill:#ffffff;stroke:#42b8eb;stroke-width:1;stroke-linecap:round;stroke-dasharray:none;stroke-opacity:1"
id="path1792"
cx="6"
cy="21"
r="1.5" />
<path
style="fill:none;stroke:#42b8eb;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 21,11.5 H 3"
id="path1857" />
<rect
style="fill:#42b8eb;fill-opacity:1;stroke:#42b8eb;stroke-width:1;stroke-linecap:round;stroke-dasharray:none;stroke-opacity:1"
id="rect2118"
width="2"
height="2"
x="19.5"
y="10.5"
ry="0" />
<rect
style="fill:#42b8eb;stroke:#42b8eb;stroke-width:1;stroke-linecap:round;stroke-dasharray:none;stroke-opacity:1;fill-opacity:1"
id="rect2118-3"
width="2"
height="2"
x="1.5"
y="10.5"
ry="0" />
<ellipse
style="fill:#ffffff;fill-opacity:1;stroke:#42b8eb;stroke-width:1;stroke-linecap:round;stroke-dasharray:none;stroke-opacity:1"
id="path4797-6"
cx="11.5"
cy="11.5"
rx="1.5"
ry="1.4999999" />
</svg>

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -0,0 +1,131 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
id="Слой_1"
data-name="Слой 1"
viewBox="0 0 24 24"
version="1.1"
sodipodi:docname="add_bezier.svg"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="3156"
inkscape:window-height="1669"
id="namedview30"
showgrid="true"
inkscape:zoom="31.34512"
inkscape:cx="-0.82947522"
inkscape:cy="15.074117"
inkscape:window-x="0"
inkscape:window-y="38"
inkscape:window-maximized="0"
inkscape:document-rotation="0"
inkscape:current-layer="Слой_1"
inkscape:showpageshadow="2"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1">
<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">
<rdf:RDF>
<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:title>add_line</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:RDF>
</metadata>
<defs
id="defs342">
<style
id="style340">.cls-1{fill:none;stroke:#1a81c4;stroke-linecap:round;stroke-linejoin:round;}</style>
</defs>
<title
id="title344">add_line</title>
<path
id="line346"
style="fill:none;fill-opacity:1;stroke:#1a81c4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 18,3 c 0,0 2.5,8.5 -6.5,8.5 C 2.5,11.5 6,21 6,21"
class="cls-1"
sodipodi:nodetypes="csc" />
<ellipse
style="fill:#ffffff;fill-opacity:1;stroke:#1a81c4;stroke-width:1;stroke-linecap:round;stroke-dasharray:none"
id="path4797"
cx="18"
cy="3"
rx="1.5"
ry="1.4999999" />
<circle
style="fill:#ffffff;stroke:#1a81c4;stroke-width:1;stroke-linecap:round;stroke-dasharray:none"
id="path1792"
cx="6"
cy="21"
r="1.5" />
<path
style="fill:none;stroke:#1a81c4;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 21,11.5 H 3"
id="path1857" />
<rect
style="fill:#1a81c4;fill-opacity:1;stroke:#1a81c4;stroke-width:1;stroke-linecap:round;stroke-dasharray:none;stroke-opacity:1"
id="rect2118"
width="2"
height="2"
x="19.5"
y="10.5"
ry="0" />
<rect
style="fill:#1a81c4;stroke:#1a81c4;stroke-width:1;stroke-linecap:round;stroke-dasharray:none;stroke-opacity:1;fill-opacity:1"
id="rect2118-3"
width="2"
height="2"
x="1.5"
y="10.5"
ry="0" />
<ellipse
style="fill:#ffffff;fill-opacity:1;stroke:#1a81c4;stroke-width:1;stroke-linecap:round;stroke-dasharray:none"
id="path4797-6"
cx="11.5"
cy="11.5"
rx="1.5"
ry="1.4999999" />
</svg>

After

Width:  |  Height:  |  Size: 4.2 KiB