Class Reference strans

A transformation including angle and scale among others used for placing components. More...

Member

strans( )
strans(strans trans )
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()

Detailed Description

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.

Member Function Documentation


strans::strans( )

Creates an new identical transformation.


strans::strans(strans trans )

Creates a transformation with copied data from trans


void strans::clearMirror_x()

clears the mirror on the x axis


double strans::getAngle()

Returns: the rotation angle of the transformation


bool strans::getMirror_x()

Returns: true, if the transformation includes a mirroring, otherwise false is returned.


double strans::getScale()

Returns: the scale of the transformation


void strans::reset()

Reset the transformation to an identical transformation.


void strans::rotate(double angle)

rotates the transformation with a value of angle. angle is the rotation in Deg.


void strans::scale(double value)

scales the transformation by value


void strans::setMirror_x()

set the mirror on the x axis


void strans::toggleMirror_x()

toggles the mirrow on the x axis