summaryrefslogtreecommitdiffstats
path: root/kig/macros/circle_by_center_and_line.kigt
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitce599e4f9f94b4eb00c1b5edb85bce5431ab3df2 (patch)
treed3bb9f5d25a2dc09ca81adecf39621d871534297 /kig/macros/circle_by_center_and_line.kigt
downloadtdeedu-ce599e4f9f94b4eb00c1b5edb85bce5431ab3df2.tar.gz
tdeedu-ce599e4f9f94b4eb00c1b5edb85bce5431ab3df2.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kig/macros/circle_by_center_and_line.kigt')
-rw-r--r--kig/macros/circle_by_center_and_line.kigt31
1 files changed, 31 insertions, 0 deletions
diff --git a/kig/macros/circle_by_center_and_line.kigt b/kig/macros/circle_by_center_and_line.kigt
new file mode 100644
index 00000000..2a02210a
--- /dev/null
+++ b/kig/macros/circle_by_center_and_line.kigt
@@ -0,0 +1,31 @@
+<!DOCTYPE KigMacroFile>
+<KigMacroFile Number="1" Version="0.7.1" >
+ <Macro>
+ <Name>Circle by Center &amp;&amp; Line</Name>
+ <Description>A circle constructed by its center and tangent to a given line</Description>
+ <ActionName>objects_new_circlebcl</ActionName>
+ <IconFileName>circlebcl</IconFileName>
+ <Construction>
+ <input requirement="line" id="1">
+ <UseText>Construct a circle tangent to this line</UseText>
+ <SelectStatement>Select the line that the new circle should be tangent to...</SelectStatement>
+ </input>
+ <input requirement="point" id="2">
+ <UseText>Construct a circle with this center</UseText>
+ <SelectStatement>Select the center of the new circle...</SelectStatement>
+ </input>
+ <intermediate action="calc" type="LinePerpend" id="3" >
+ <arg>1</arg>
+ <arg>2</arg>
+ </intermediate>
+ <intermediate action="calc" type="LineLineIntersection" id="4" >
+ <arg>1</arg>
+ <arg>3</arg>
+ </intermediate>
+ <result action="calc" type="CircleBCP" id="5" >
+ <arg>2</arg>
+ <arg>4</arg>
+ </result>
+ </Construction>
+ </Macro>
+</KigMacroFile>