If the second argument is one, the return will be a Cadence DEF orientation code. In addition, if an array of size two or larger is passed as a third argument, the values will be filled in with the X and Y origin correction values implied by the transformation. In a DEF transformation, the lower left corner position of the bounding box is invariant, implying that there is an additional translation after rotation/mirroring to enforce this. Pass 0 for this argument if these values aren't needed.
In DEF, there is no support for 45, 135, 225, and 315 rotations, a null string is returned in these cases. Magnification is ignored.
If the second argument is any other value, the OpenAccess strings are returned, otherwise all is as for DEF.
The following table lists equivalent orientation codes for DEF, OpenAccess, and Xic. The Origin column indicates the position of the original lower-left corner after the operation.
LEF/DEF OpenAccess Xic Origin N R0 R0 LL W R90 R90 LR S R180 R180 UR E R270 R270 UL FN MY MX LR FW MX90 R270MY LL FS MX MY UL FE MY90 R90MX UR