de_add_point()
Adds a point to a polygon, polyline, or path using user-defined units. To draw a shape using simulator units, use the function de_draw_point(). The de_draw_point() function is typically used in artwork generation functions. Returns: none.
See also: de_add_polyline(), de_add_polygon(), de_add_path().
Syntax:
de_add_point(x,y);
where
x,y is the coordinates, in user-defined units, for the new vertex.
Example:
//draws a polygon in the Schematic window
api_set_current_window(1);
de_add_polygon();
de_add_point(0.0, 5.625);
de_add_point(1.25, 6.125);
de_add_point(1.375, 5.0);
de_add_point(-0.125, 5.125);
de_add_point(-0.125, 5.125);
de_end();
Download Example File:
The following link(s) lead to the Agilent EEsof EDA Knowledge center website. You will need to register at this site with a valid support contract to download an example file.
Generate SnP Component
Polylines to Polygons
Where Used:
Schematic, Layout
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()