摘要 |
One embodiment of the present invention provides a system that sizes a polygon in a layout. During operation, the system receives a polygon which is to be sized by a sizing amount. The system then selects one or more vertices of the polygon. Next, the system replaces each selected vertex with a set of replacement vertices, and subsequently assigns a projection path to each replacement vertex in the set of replacement vertices. The system next performs a sizing operation on the polygon according to the sizing amount. During the sizing operation, the system moves each replacement vertex in the set of replacement vertices along the assigned projection path, thereby creating a clipping on the angle associated with the selected vertex. Furthermore, this sizing operation is continuous: similar output polygons are obtained for similar sizing amounts. |