| 1 | <HTML> |
| 2 | <HEAD> |
| 3 | <STYLE type="text/css"> |
| 4 | H1 {color: black } |
| 5 | H2 {color: maroon } |
| 6 | H3 {color: #007090 } |
| 7 | A.head:link {color: #0060a0 } |
| 8 | A.head:visited {color: #3040c0 } |
| 9 | A.head:active {color: white } |
| 10 | A.head:hover {color: yellow } |
| 11 | A.red:link {color: red } |
| 12 | A.red:visited {color: maroon } |
| 13 | A.red:active {color: yellow } |
| 14 | </STYLE> |
| 15 | </HEAD> |
| 16 | <TITLE>Magic-7.3 Command Reference</TITLE> |
| 17 | <BODY BACKGROUND=graphics/blpaper.gif> |
| 18 | <H1> <IMG SRC=graphics/magic_title2.gif ALT="Magic VLSI Layout Tool Version 7.3"> |
| 19 | <IMG SRC=graphics/magic_OGL_sm.gif ALIGN="top" ALT="*"> </H1> |
| 20 | |
| 21 | <H2>clockwise</H2> |
| 22 | <HR> |
| 23 | Rotate the selection and box clockwise |
| 24 | <HR> |
| 25 | |
| 26 | <H3>Shortcuts:</H3> |
| 27 | <BLOCKQUOTE> |
| 28 | Key macro <B>r</B> implements the command <B>clockwise</B> |
| 29 | (or <B>rotate 90</B>). <BR> |
| 30 | Key macro <B>R</B> implements the command <B>clockwise 270</B> |
| 31 | (or <B>rotate -90</B>). <BR> |
| 32 | Key macro <I>Control-</I><B>R</B> implements the command <B>clockwise 180</B> |
| 33 | </BLOCKQUOTE> |
| 34 | |
| 35 | <H3>Usage:</H3> |
| 36 | <BLOCKQUOTE> |
| 37 | <B>clockwise</B> [<I>degrees</I>] [<B>-origin</B>] <BR><BR> |
| 38 | <BLOCKQUOTE> |
| 39 | where <I>degrees</I> is the number of degrees to rotate, and |
| 40 | must be a manhattan amount (90, 180, 270). |
| 41 | </BLOCKQUOTE> |
| 42 | </BLOCKQUOTE> |
| 43 | |
| 44 | <H3>Summary:</H3> |
| 45 | <BLOCKQUOTE> |
| 46 | The <B>clockwise</B> command rotates the current selection by |
| 47 | the specified amount, in degrees. The default rotation is by |
| 48 | 90 degrees. The amount of rotation must be one of 90, 180, |
| 49 | or 270. <P> |
| 50 | |
| 51 | If <B>-origin</B> is specified, the rotation is around the |
| 52 | origin of the selection, not around the lower left-hand |
| 53 | corner. |
| 54 | </BLOCKQUOTE> |
| 55 | |
| 56 | <H3>Implementation Notes:</H3> |
| 57 | <BLOCKQUOTE> |
| 58 | <B>clockwise</B> is implemented as a built-in <B>magic</B> command. |
| 59 | Because a "standard abbreviation" is <B>clock</B> and conflicts with |
| 60 | the Tcl command <B>clock</B>, this case is handled specially. |
| 61 | The command <B>clock</B> is deprecated in favor of the more general |
| 62 | command <B>rotate</B>, but is maintained for backward compatibility. |
| 63 | </BLOCKQUOTE> |
| 64 | |
| 65 | <H3>See Also:</H3> |
| 66 | <BLOCKQUOTE> |
| 67 | <A HREF=rotate.html><B>rotate</B></A> <BR> |
| 68 | </BLOCKQUOTE> |
| 69 | |
| 70 | <P><IMG SRC=graphics/line1.gif><P> |
| 71 | <TABLE BORDER=0> |
| 72 | <TR> |
| 73 | <TD> <A HREF=commands.html>Return to command index</A> |
| 74 | </TR> |
| 75 | </TABLE> |
| 76 | <P><I>Last updated:</I> October 15, 2004 at 10:09am <P> |
| 77 | </BODY> |
| 78 | </HTML> |