[dia] Bug 641184 - two new xtal shapes by Josef Moellers <josef moellers gmx de>



commit 0269f9c8ed2c3f9476fb13a1e33628c678efb6e1
Author: Steffen Macke <sdteffen sdteffen de>
Date:   Sun Feb 6 15:08:22 2011 +0100

    Bug 641184 - two new xtal shapes by Josef Moellers <josef moellers gmx de>

 shapes/Circuit/Makefile.am  |    6 +++++-
 shapes/Circuit/xtal_h.png   |  Bin 0 -> 308 bytes
 shapes/Circuit/xtal_h.shape |   24 ++++++++++++++++++++++++
 shapes/Circuit/xtal_v.png   |  Bin 0 -> 303 bytes
 shapes/Circuit/xtal_v.shape |   23 +++++++++++++++++++++++
 sheets/Circuit.sheet.in     |    6 ++++++
 6 files changed, 58 insertions(+), 1 deletions(-)
---
diff --git a/shapes/Circuit/Makefile.am b/shapes/Circuit/Makefile.am
index dbcee36..66c5f02 100644
--- a/shapes/Circuit/Makefile.am
+++ b/shapes/Circuit/Makefile.am
@@ -63,7 +63,11 @@ SHAPES = \
 	hjumper.shape \
 	hjumper.png \
 	microphone_de.shape \
-	microphone_de.png
+	microphone_de.png \
+	xtal_h.shape \
+	xtal_h.png \
+	xtal_v.shape \
+	xtal_v.png
 
 EXTRA_DIST = $(SHAPES)
 
diff --git a/shapes/Circuit/xtal_h.png b/shapes/Circuit/xtal_h.png
new file mode 100644
index 0000000..768860e
Binary files /dev/null and b/shapes/Circuit/xtal_h.png differ
diff --git a/shapes/Circuit/xtal_h.shape b/shapes/Circuit/xtal_h.shape
new file mode 100644
index 0000000..794dc0b
--- /dev/null
+++ b/shapes/Circuit/xtal_h.shape
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+
+<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns";
+       xmlns:svg="http://www.w3.org/2000/svg";>
+  <name>Circuit - Horizontal Xtal</name>
+  <description>A horizontally aligned Xtal</description>
+  <icon>xtal_h.png</icon>
+  <default-width>3cm</default-width>
+  <default-height>3cm</default-height>
+  <connections>
+    <point x="0" y="1.5"/>
+    <point x="3" y="1.5"/>
+    <point x="1.5" y="1.5" main="yes"/>
+  </connections>
+  <svg:svg width="3" height="3">
+    <svg:line x1="0" y1="1.5" x2="0.75" y2="1.5" />
+    <svg:line x1="0.75" y1="0.75" x2="0.75" y2="2.25" />
+    <svg:polygon points="1.125,0.375 1.875,0.375 1.875,2.625 1.125,2.625"
+          style="fill: none" />
+    <svg:line x1="2.25" y1="0.75" x2="2.25" y2="2.25" />
+    <svg:line x1="2.25" y1="1.5" x2="3" y2="1.5" />
+  </svg:svg>
+</shape>
+
diff --git a/shapes/Circuit/xtal_v.png b/shapes/Circuit/xtal_v.png
new file mode 100644
index 0000000..e585f36
Binary files /dev/null and b/shapes/Circuit/xtal_v.png differ
diff --git a/shapes/Circuit/xtal_v.shape b/shapes/Circuit/xtal_v.shape
new file mode 100644
index 0000000..cd85238
--- /dev/null
+++ b/shapes/Circuit/xtal_v.shape
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+
+<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns";
+	xmlns:svg="http://www.w3.org/2000/svg";>
+  <name>Circuit - Vertical Xtal</name>
+  <description>A vertically aligned Xtal</description>
+  <icon>xtal_v.png</icon>
+  <default-width>3cm</default-width>
+  <default-height>3cm</default-height>
+  <connections>
+    <point x="1.5" y="0" />
+    <point x="1.5" y="3" />
+    <point x="1.5" y="1.5" />
+  </connections>
+  <svg:svg width="3" height="3">
+    <svg:polygon points=" 0.375,1.125 2.625,1.125 2.625,1.875 0.375,1.875"
+	style = "fill: none" />
+    <svg:line x1="1.5" y1="0" x2="1.5" y2="0.75" />
+    <svg:line x1="0.75" y1="0.75" x2="2.25" y2="0.75" />
+    <svg:line x1="0.75" y1="2.25" x2="2.25" y2="2.25" />
+    <svg:line x1="1.5" y1="2.25" x2="1.5" y2="3" />
+  </svg:svg>
+</shape>
diff --git a/sheets/Circuit.sheet.in b/sheets/Circuit.sheet.in
index 6aa24b7..c6c4fe9 100644
--- a/sheets/Circuit.sheet.in
+++ b/sheets/Circuit.sheet.in
@@ -104,5 +104,11 @@
     <object name="Circuit - Horizontal Jumper">
       <_description>Horizontal jumper</_description>
     </object>
+    <object name="Circuit - Horizontal Xtal">
+     <_description>Horizontal xtal</_description>
+    </object>
+    <object name="Circuit - Vertical Xtal">
+      <_description>Vertical xtal</_description>
+    </object>
   </contents>
 </sheet>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]