moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kig / macros / circle_by_point_and_segment.kigt
blob2f72eeb64c7d3af6ff82a8bc8d36ffe7b8606d6d
1 <!DOCTYPE KigMacroFile>
2 <KigMacroFile Number="1" Version="0.4.0" >
3  <Macro>
4   <Name>Circle by Point &amp;&amp; Segment (as the Radius)</Name>
5   <Description>A circle defined by its center and the length of a segment as the radius</Description>
6   <ActionName>objects_new_circlebps</ActionName>
7   <IconFileName>circlebps</IconFileName>
8   <Construction>
9    <input requirement="point" id="1">
10     <UseText>Construct a circle with this center</UseText>
11     <SelectStatement>Select the center of the new circle...</SelectStatement>
12    </input>
13    <input requirement="segment" id="2">
14     <UseText>Construct a circle with the radius given by the length of this segment</UseText>
15     <SelectStatement>Select the segment whose length gives the radius of the new circle...</SelectStatement>
16    </input>
17    <intermediate action="fetch-property" property="length" id="3" >
18     <arg>2</arg>
19    </intermediate>
20    <result action="calc" type="CircleBPR" id="4" >
21     <arg>1</arg>
22     <arg>3</arg>
23    </result>
24   </Construction>
25  </Macro>
26 </KigMacroFile>