A transformation including angle and scale among others used for placing components. More...
strans( ) | |
strans(strans trans ) | |
strans(string transString ) | |
void | clearMirror_x() |
double | getAngle() |
bool | getMirror_x() |
double | getScale() |
void | reset() |
void | rotate(double angle) |
void | scale(double value) |
void | setMirror_x() |
void | toggleMirror_x() |
A transformation including angle and scale among others used for placing components or use when placing cell referenes as well as for setting the orientation of text.
Creates an new identical transformation.
Creates a transformation with copied data from trans
Creates a transformation from a string. Examples: MR90 , R180 or R0 an empty string will also create a R0 tranformation. The R describes the rotation and if an M is present it is mirror about x-axis. (introduced with release 20200217)
clears the mirror on the x axis
Returns: the rotation angle of the transformation
Returns: true, if the transformation includes a mirroring, otherwise false is returned.
Returns: the scale of the transformation
Reset the transformation to an identical transformation.
rotates the transformation with a value of angle. angle is the rotation in Deg.
scales the transformation by value
set the mirror on the x axis
toggles the mirrow on the x axis