strans Class Reference
A transformation including angle and scale e.g. used for placing components. More...
See also: List of Classes
Member
Detailed Description
A transformation including angle and scale e.g. used for placing components or use when placing cell referenes as well as for setting the orientation of text.
Member Function Documentation
strans::strans( )
creates an identical transformation
(introduced with version 20170320)
strans::strans(strans trans )
creates a transformation with copied data from trans
(introduced with version 20170520)
void strans::clearMirror_x()
clears the mirror on the x axis
double strans::getAngle()
Returns: the rotation angle of the transformation
(introduced with version 20130301)
bool strans::getMirror_x()
Returns: true if the transformation contains a mirroring, otherwise false is returned.
(introduced with version 20130301)
double strans::getScale()
Returns: the scale of the transformation
(introduced with version 20130301)
void strans::reset()
Reset the transformation to an identical transformation.
(introduced with version 20130301)
void strans::rotate(double angle)
rotates the transformation with a value of angle. angle is the rotation in Deg.
void strans::scale(double d)
scales the transformation by d
void strans::setMirror_x()
set the mirror on the x axis
void strans::toggleMirror_x()
toggles the mirrow on the x axis
(introduced with version 20130301)