Debian Codegraph @

doc/html/stretch.html

raw symbols SCIP
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>stretch</H2>
22 <HR>
23 Stretch the cursor box and the selection.
24 <HR>
25
26 <H3>Shortcuts:</H3>
27 <BLOCKQUOTE>
28 Key macro <B>M</B> implements the command <B>move</B> (no arguments).<BR>
29 Key macro <I>Shift-Keypad-</I><B>8</B> implements the
30 command <B>stretch n 1</B> <BR>
31 Key macro <I>Shift-Keypad-</I><B>6</B> implements the
32 command <B>stretch e 1</B> <BR>
33 (and so forth for all 8 compass rose directions).
34 </BLOCKQUOTE>
35
36 <H3>Usage:</H3>
37 <BLOCKQUOTE>
38 <B>stretch</B> [<I>direction</I> [<I>distance</I>]] <BR><BR>
39 <BLOCKQUOTE>
40 where <I>direction</I> is any valid <A HREF=direction.html>
41 direction</A> specification in magic, and <I>distance</I>
42 is any valid <A HREF=distance.html>distance</A>
43 specification.
44 </DL>
45 </BLOCKQUOTE>
46 </BLOCKQUOTE>
47
48 <H3>Summary:</H3>
49 <BLOCKQUOTE>
50 The <B>stretch</B> command moves the current selection from
51 its current position according to the command arguments,
52 and fills in behind with material such that electrical
53 connections are maintained across the area in between the
54 original and final positions. <P>
55
56 Without arguments, the lower-left hand corner of the
57 selection is moved to the current cursor position (the X11
58 cursor, not the <B>magic</B> "cursor box"). With arguments
59 <I>direction</I> and <I>distance</I>, the selection is moved
60 relative to the original in the indicated direction by the
61 indicated amount. The default distance is 1 unit (usually
62 lambda; see <A HREF=distance.html><I>distance</I></A> for
63 further explication).<P>
64
65 The stretching algorithm fills in with the material that
66 crosses or touches the cursor box in the opposite direction
67 to the direction being stretched. If two different materials
68 are on opposite sides of this boundary, the effect depends
69 on the material types. Contact types will not be stretched
70 unless the contact material is on both sides of the cursor
71 box boundary. If two different contact types are on opposite
72 sides of the boundary, then the material that electrically
73 connects those two contacts (if any) will be filled in the
74 stretch area.
75 </BLOCKQUOTE>
76
77 <H3>Implementation Notes:</H3>
78 <BLOCKQUOTE>
79 <B>stretch</B> is implemented as a built-in <B>magic</B> command.
80 </BLOCKQUOTE>
81
82 <H3>See Also:</H3>
83 <BLOCKQUOTE>
84 <A HREF=direction.html><I>direction</I></A><BR>
85 <A HREF=distance.html><I>distance</I></A><BR>
86 </BLOCKQUOTE>
87
88 <P><IMG SRC=graphics/line1.gif><P>
89 <TABLE BORDER=0>
90 <TR>
91 <TD> <A HREF=commands.html>Return to command index</A>
92 </TR>
93 </TABLE>
94 <P><I>Last updated:</I> October 16, 2004 at 2:00pm <P>
95 </BODY>
96 </HTML>