diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | ce599e4f9f94b4eb00c1b5edb85bce5431ab3df2 (patch) | |
tree | d3bb9f5d25a2dc09ca81adecf39621d871534297 /kig/macros/circle_by_point_and_diameter.kigt | |
download | tdeedu-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_point_and_diameter.kigt')
-rw-r--r-- | kig/macros/circle_by_point_and_diameter.kigt | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/kig/macros/circle_by_point_and_diameter.kigt b/kig/macros/circle_by_point_and_diameter.kigt new file mode 100644 index 00000000..afe73a61 --- /dev/null +++ b/kig/macros/circle_by_point_and_diameter.kigt @@ -0,0 +1,36 @@ +<!DOCTYPE KigMacroFile> +<KigMacroFile Number="1" Version="0.9.0" > + <Macro> + <Name>Circle by Point && Segment (as the Diameter)</Name> + <Description>A circle defined by its center and the length of a segment as the diameter</Description> + <ActionName>objects_new_circlebpd</ActionName> + <IconFileName>circlebpd</IconFileName> + <Construction> + <input requirement="point" id="1"> + <UseText>Construct a circle with this center</UseText> + <SelectStatement>Select the center of the new circle...</SelectStatement> + </input> + <input requirement="segment" id="2"> + <UseText>Construct a circle with the diameter given by the length of this segment</UseText> + <SelectStatement>Select the segment whose length gives the diameter of the new circle...</SelectStatement> + </input> + <intermediate action="fetch-property" property="end-point-A" id="3" > + <arg>2</arg> + </intermediate> + <intermediate action="fetch-property" property="mid-point" id="4" > + <arg>2</arg> + </intermediate> + <intermediate action="calc" type="SegmentAB" id="5" > + <arg>3</arg> + <arg>4</arg> + </intermediate> + <intermediate action="fetch-property" property="length" id="6" > + <arg>5</arg> + </intermediate> + <result action="calc" type="CircleBPR" id="7" > + <arg>1</arg> + <arg>6</arg> + </result> + </Construction> + </Macro> +</KigMacroFile> |