ccCreateRect
ccCreateRect(
d_cellview
l_lpp
l_llPoint
l_urPoint
?offset l_offset
?rotation n_rotation
?genFigs g_genFigs
)
=> o_surface | nil
Description
(Virtuoso Photonics Option) Creates a rectangle with the specified coordinates as a ccSurface object on the specified cellview and layer-purpose pair. The rectangle is then transformed according to the specified offset and rotation. Optionally, OpenAccess figures (polygons) are created.
Arguments
|
Specifies whether OpenAccess figures are generated for the resulting ccSurface.
The default is |
|
Value Returned
Example
ccCreateRect(cv '("metal" "drawing") -1:-1 2:2 ?rotation 180)
> cc:0x20f7d91e
ccCreateRect(cv '("metal" "drawing") 0:0 5:10 ?genFigs nil)
> cc@0x26d92e0
Related Topics
Curvy Core Shape Creation Functions
Return to top