| 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>splitpaint</H2> |
| 22 | <HR> |
| 23 | Paint into the cursor box, splitting the box diagonally with one layer |
| 24 | forming a right triangle in one corner and space or another layer in |
| 25 | the other. |
| 26 | <HR> |
| 27 | |
| 28 | <H3>Usage:</H3> |
| 29 | <BLOCKQUOTE> |
| 30 | <B>splitpaint</B> <I>dir layer</I> [<I>layer2</I>] <BR><BR> |
| 31 | <BLOCKQUOTE> |
| 32 | where <I>dir</I> is a valid non-Manhattan direction indicating |
| 33 | the direction of the right angle corner of the right triangle |
| 34 | to be painted. This triangle is painted with layer type |
| 35 | <I>layer</I>. If specified, the opposite triangle is painted |
| 36 | with layer type <I>layer2</I>; otherwise, it is unpainted. |
| 37 | </BLOCKQUOTE> |
| 38 | </BLOCKQUOTE> |
| 39 | |
| 40 | <H3>Summary:</H3> |
| 41 | <BLOCKQUOTE> |
| 42 | The <B>splitpaint</B> command implements a form of non-Manhattan |
| 43 | geometry that conforms to the corner-stitched tile database |
| 44 | format used by <B>magic</B> for painting and searching operations |
| 45 | in a plane. It lets a rectangular area, as defined by the |
| 46 | position of the cursor box, be split diagonally, with one half |
| 47 | containing one layer type, and the other half containing |
| 48 | another. <P> |
| 49 | |
| 50 | Note that <B>splitpaint</B> is somewhat cumbersome to use; |
| 51 | to generate diagonal wires, use the <B>wire segment</B> command, |
| 52 | which is also able to compute mitred joints between segments at |
| 53 | different angles. <P> |
| 54 | </BLOCKQUOTE> |
| 55 | |
| 56 | <H3>Implementation Notes:</H3> |
| 57 | <BLOCKQUOTE> |
| 58 | <B>splitpaint</B> is implemented as a built-in command in <B>magic</B>. |
| 59 | </BLOCKQUOTE> |
| 60 | |
| 61 | <H3>See Also:</H3> |
| 62 | <BLOCKQUOTE> |
| 63 | <A HREF=spliterase.html><B>spliterase</B></A> <BR> |
| 64 | <A HREF=wire.html><B>wire</B></A> <BR> |
| 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 7:38am <P> |
| 74 | </BODY> |
| 75 | </HTML> |