CIRCLE ROTATE: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
Line 2: Line 2:
|description=:Rotate a [[macro_circle|circle]] about defined co-ordinates and a defined angle.
|description=:Rotate a [[macro_circle|circle]] about defined co-ordinates and a defined angle.


|param1=<circle number>|param1_desc= {{circle number}}
|param1=<circle number>|param1_desc= {{create circle number}}
|param2=<xc>|param2_desc= {{xc}}  
|param2=<xc>|param2_desc= {{xc}}  
|param3=<yc>|param3_desc= {{yc}}  
|param3=<yc>|param3_desc= {{yc}}  

Revision as of 17:45, 29 July 2010

Command

CIRCLE_ROTATE
CIRCLE_ROTATE
CIRCLE_ROTATE <circle number>, <xc>, <yc>, <angle>


Rotate a circle about defined co-ordinates and a defined angle.

Parameters

<circle number>
The number of the circle to be created.
A number between 1 and 100.
<xc>
X co-ordinate of the center point.
<yc>
Y co-ordinate of the center point.
<angle>
angle value, either degrees or radians. Positive angles indicate a CCW direction, negative for CW.

Use the DEGREES or RADIANS commands to switch between the two angle modes.

Example

CIRCLE_ROTATE 4, 6, 7, 39