Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

dbTransformPoint

dbTransformPoint( 
l_point 
l_list 
) 
=> l_point / nil 

Description

Transforms a coordinate pair.

Using the location and orientation you specify, this function calculates how a certain shape (such as a pin on the master) in an instance of a cell is repositioned. This function performs calculations and is not related to any database object.

Arguments

l_point

Coordinate pair to be transformed.

l_list

List of the following: displacement vector offset, rotation or reflection of the object, and magnification (optional).

Valid values for rotation are R0, R90, R180, and R270.

Valid values for reflection are MX, MXR90, MY, and MYR90.

Value Returned

l_point

The coordinate pair of the location of the object after the transformation.

nil

The transformation is not successful.

Examples

dbTransformPoint( (1.5:2.5) list(0:10 "R90" 2.5) )
=> (-6.250000 13.750000)

Related Topics

Shape Transformation Functions


Return to top
 ⠀
X