| 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>ruler</H2> |
| 22 | <HR> |
| 23 | Create ruler markings inside the box with indicated text. |
| 24 | <HR> |
| 25 | |
| 26 | <H3>Usage:</H3> |
| 27 | <BLOCKQUOTE> |
| 28 | <B>ruler</B> [<I>text</I> [<I>orient</I>]] <BR><BR> |
| 29 | |
| 30 | <BLOCKQUOTE> |
| 31 | where <I>orient</I> is either <B>vertical</B>, |
| 32 | <B>horizontal</B>, or <B>auto</B> (the default), and |
| 33 | where <I>text</I> is any string. If the string |
| 34 | contains whitespace, it must be quoted. |
| 35 | </BLOCKQUOTE> |
| 36 | </BLOCKQUOTE> |
| 37 | |
| 38 | <H3>Summary:</H3> |
| 39 | <BLOCKQUOTE> |
| 40 | The <B>ruler</B> command generates a "ruler", a set of lines indicating |
| 41 | a dimension. It is used to annotate layouts with the indicated text. |
| 42 | If no orientation is given, then automatic orientation it used, in |
| 43 | which the presented dimension (the line or lines with arrowheads) |
| 44 | is whichever box dimension (width or height) is longer. The ruler |
| 45 | may be removed with the <B>unmeasure</B> command. The <B>measure</B> |
| 46 | command is a specific type of ruler where the text is set to the |
| 47 | presented box dimension. |
| 48 | </BLOCKQUOTE> |
| 49 | |
| 50 | <H3>Implementation Notes:</H3> |
| 51 | <BLOCKQUOTE> |
| 52 | <B>ruler</B> is implemented as a Tcl procedure defined |
| 53 | in the "tools" script. It generates a set of elements (lines and |
| 54 | text) with the <B>element add</B> command. |
| 55 | </BLOCKQUOTE> |
| 56 | |
| 57 | <H3>See Also:</H3> |
| 58 | <BLOCKQUOTE> |
| 59 | <A HREF=measure.html><B>measure</B></A> <BR> |
| 60 | <A HREF=unmeasure.html><B>unmeasure</B></A> <BR> |
| 61 | </BLOCKQUOTE> |
| 62 | |
| 63 | <P><IMG SRC=graphics/line1.gif><P> |
| 64 | <TABLE BORDER=0> |
| 65 | <TR> |
| 66 | <TD> <A HREF=commands.html>Return to command index</A> |
| 67 | </TR> |
| 68 | </TABLE> |
| 69 | <P><I>Last updated:</I> October, 2004<P> |
| 70 | </BODY> |
| 71 | </HTML> |