CIRCLE ROTATE: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
|description=This command is used to rotate a circle about given co-ordinates for the new center of the circle and the radius to rotate it. | |description=This command is used to rotate a circle about given co-ordinates for the new center of the circle and the radius to rotate it. | ||
|param1=<circle number>|param1_desc= | |param1=<circle number>|param1_desc= {{circle number}} | ||
|param2=<xc>|param2_desc= | |param2=<xc>|param2_desc= {{xc}} | ||
|param3=<yc>|param3_desc= | |param3=<yc>|param3_desc= {{yc}} | ||
|param4=<angle>|param4_desc= | |param4=<angle>|param4_desc= {{angle}} | ||
}} | }} | ||
Revision as of 16:19, 16 July 2010
Command
- CIRCLE_ROTATE <circle number>, <xc>, <yc>, <angle>
This command is used to rotate a circle about given co-ordinates for the new center of the circle and the radius to rotate it.
Parameters
- <circle number>
- The number of a previously defined macro circle.
- <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