Debian Codegraph @

doc/html/polygon.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>polygon</H2>
22 <HR>
23 Generate polygons from the command line.
24 <HR>
25
26 <H3>Shortcuts:</H3>
27 <BLOCKQUOTE>
28 None.
29 </BLOCKQUOTE>
30
31 <H3>Usage:</H3>
32 <BLOCKQUOTE>
33 <B>polygon</B> <I>type x1 y1 x2 y2</I> ... <I>xn yn</I> <BR><BR>
34 <BLOCKQUOTE>
35 where <I>type</I> is a tile type to draw, and <I>x1 y1</I> ...
36 <I>xn yn</I> are <I>n</I> vertices of a polygon.
37 </BLOCKQUOTE>
38 </BLOCKQUOTE>
39
40 <H3>Summary:</H3>
41 <BLOCKQUOTE>
42 The <B>polygon</B> command allows generation of polygons on the
43 layout from the command line, similarly to the <B>wire segment</B>
44 command. The <B>polygon</B> command automatically generates the
45 proper tile geometry for the polygon as specified by vertices.
46 Vertex points are pairs of X Y coordinates, and may take any
47 dimensional value (default lambda, but may be internal units or
48 metric units). Note that polygons should be convex; the tile
49 generation algorithm is not guaranteed to work with non-convex
50 geometries. <P>
51
52 While simple non-Manhattan structures (triangles) can be generated
53 with the "splitpaint" and "spliterase" commands using macros, there
54 is no convenient interactive method for generating complex polygon
55 geometry. The <B>polygon</B> command is best used in scripts to
56 create specific patterns based on known geometry.
57 </BLOCKQUOTE>
58
59 <H3>Implementation Notes:</H3>
60 <BLOCKQUOTE>
61 <B>polygon</B> is implemented as a built-in command in <B>magic</B>.
62 </BLOCKQUOTE>
63
64 <H3>See Also:</H3>
65 <BLOCKQUOTE>
66 <A HREF=wire.html><B>wire</B></A> <BR>
67 </BLOCKQUOTE>
68
69 <P><IMG SRC=graphics/line1.gif><P>
70 <TABLE BORDER=0>
71 <TR>
72 <TD> <A HREF=commands.html>Return to command index</A>
73 </TR>
74 </TABLE>
75 <P><I>Last updated:</I> December 4, 2005 at 8:39pm <P>
76 </BODY>
77 </HTML>