Debian Codegraph @

shapes/Electrical/sx4p.shape

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
3 <!--
4 If anyone ever find this switch, I want a image of it :)
5 This one is mainly just to easily copy/paste to make new switches
6 -->
7 <name>Electrical - Sx4p</name>
8 <icon>sx4p.png</icon>
9 <connections>
10 <point x="0.25" y="0"/>
11 <point x="-0.25" y="0"/>
12 <point x="0" y="0.25"/>
13 <point x="0" y="-0.25"/>
14 <point x="0" y="0" main="yes"/>
15 </connections>
16 <aspectratio type="fixed"/>
17 <default-width>2cm</default-width>
18 <default-height>2cm</default-height>
19 <textbox x1="0.1" y1="0.6" x2="0.2" y2="0.3" align="left" resize="no"/>
20 <svg:svg>
21 <svg:g style="stroke-linecap: round">
22 <!-- TopRight -->
23 <svg:line x2="0.43" y2="-0.72" x1="0" y1="0" />
24 <!-- Each step: -0.07 +0.12 -0.07 +0.12-->
25 <svg:line x1="0.43" y1="-0.72" x2="0.63" y2="-0.60" />
26 <svg:line x1="0.36" y1="-0.60" x2="0.56" y2="-0.48" />
27 <svg:line x1="0.29" y1="-0.48" x2="0.49" y2="-0.36" />
28 <svg:line x1="0.22" y1="-0.36" x2="0.42" y2="-0.24" />
29 <!-- TopLeft -->
30 <svg:line x2="-0.43" y2="-0.72" x1="0" y1="0" />
31 <svg:line x1="-0.43" y1="-0.72" x2="-0.63" y2="-0.60" />
32 <svg:line x1="-0.36" y1="-0.60" x2="-0.56" y2="-0.48" />
33 <svg:line x1="-0.29" y1="-0.48" x2="-0.49" y2="-0.36" />
34 <svg:line x1="-0.22" y1="-0.36" x2="-0.42" y2="-0.24" />
35 <!-- BottomLeft -->
36 <svg:line x2="-0.43" y2="0.72" x1="0" y1="0" />
37 <svg:line x1="-0.43" y1="0.72" x2="-0.63" y2="0.60" />
38 <svg:line x1="-0.36" y1="0.60" x2="-0.56" y2="0.48" />
39 <svg:line x1="-0.29" y1="0.48" x2="-0.49" y2="0.36" />
40 <svg:line x1="-0.22" y1="0.36" x2="-0.42" y2="0.24" />
41 <!-- BottomRight -->
42 <svg:line x2="0.43" y2="0.72" x1="0" y1="0" />
43 <svg:line x1="0.43" y1="0.72" x2="0.63" y2="0.60" />
44 <svg:line x1="0.36" y1="0.60" x2="0.56" y2="0.48" />
45 <svg:line x1="0.29" y1="0.48" x2="0.49" y2="0.36" />
46 <svg:line x1="0.22" y1="0.36" x2="0.42" y2="0.24" />
47 </svg:g>
48 <!-- Circle (last) -->
49 <svg:circle style="fill: default;" cx="0" cy="0" r="0.25" />
50 <!-- Filler to keep snapping sane and consistent -->
51 <svg:g style="stroke: none; fill: none">
52 <svg:line x1="1" y1="-1" x2="1" y2="-1"/>
53 <svg:line x1="-1" y1="1" x2="-1" y2="1" />
54 </svg:g>
55 </svg:svg>
56 </shape>