| 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>scroll</H2> |
| 22 | <HR> |
| 23 | Scroll the window |
| 24 | <HR> |
| 25 | |
| 26 | <H3>Shortcuts:</H3> |
| 27 | <BLOCKQUOTE> |
| 28 | The keyboard arrow keys implement the command. Without modifiers, the |
| 29 | window scrolls by 1/10 width in the indicated direction. With <I>Shift</I>, |
| 30 | the window scrolls by one width in the indicated direction. |
| 31 | </BLOCKQUOTE> |
| 32 | |
| 33 | <H3>Usage:</H3> |
| 34 | <BLOCKQUOTE> |
| 35 | <B>scroll</B> <I>direction</I> [<I>amount</I> [<I>units</I>]] <BR><BR> |
| 36 | <BLOCKQUOTE> |
| 37 | where <I>direction</I> is a valid Manhattan |
| 38 | <A HREF=direction.html>direction</A>, and <I>amount</I> |
| 39 | by default is an absolute <A HREF=distance.html>distance</A> |
| 40 | in any acceptable units. If <I>units</I> is |
| 41 | <B>w</B>, then the <I>amount</I> is interpreted as |
| 42 | a fraction of the screen width. If <I>units</I> ls |
| 43 | <B>l</B>, then the <I>amount</I> is interpreted as |
| 44 | a fraction of the layout width. Note that units of |
| 45 | distance for <I>amount</I>, such as "um" for microns or |
| 46 | "i" for internal units, are attached to the value with |
| 47 | no intervening space, whereas the two <I>units</I> |
| 48 | keywords accepted by the <B>scroll</B> command are |
| 49 | a separate argument and separated from <I>amount</I> by |
| 50 | whitespace. |
| 51 | </BLOCKQUOTE> |
| 52 | </BLOCKQUOTE> |
| 53 | |
| 54 | <H3>Summary:</H3> |
| 55 | <BLOCKQUOTE> |
| 56 | The <B>scroll</B> command implements a pan of the layout in the |
| 57 | window in the indicated direction by the indicated amount. |
| 58 | The interpretation of <I>amount</I> is described above in the |
| 59 | Usage section. |
| 60 | </BLOCKQUOTE> |
| 61 | |
| 62 | <H3>Implementation Notes:</H3> |
| 63 | <BLOCKQUOTE> |
| 64 | <B>scroll</B> is implemented as a built-in window command in <B>magic</B>. |
| 65 | </BLOCKQUOTE> |
| 66 | |
| 67 | <P><IMG SRC=graphics/line1.gif><P> |
| 68 | <TABLE BORDER=0> |
| 69 | <TR> |
| 70 | <TD> <A HREF=commands.html>Return to command index</A> |
| 71 | </TR> |
| 72 | </TABLE> |
| 73 | <P><I>Last updated:</I> October 8, 2004 at 2:45am <P> |
| 74 | </BODY> |
| 75 | </HTML> |