#include <VectorTransformation2D.h>
Public Member Functions | |
| VectorTransformation2D () | |
| Vector2D | transform (Vector2D original) const |
| Vector2D | transformWithOrigin (Vector2D v, Vector2D origin) const |
| double | getRotation () const |
| double | getHorizontalScaling () const |
| double | getVerticalScaling () const |
| bool | orientationReversing () const |
Static Public Member Functions | |
| static VectorTransformation2D | fromFlips (bool flipH, bool flipV) |
| static VectorTransformation2D | fromTranslate (double x, double y) |
| static VectorTransformation2D | fromCounterRadians (double theta) |
Private Attributes | |
| double | m_m11 |
| double | m_m12 |
| double | m_m21 |
| double | m_m22 |
| double | m_x |
| double | m_y |
Friends | |
| VectorTransformation2D | operator* (const VectorTransformation2D &l, const VectorTransformation2D &r) |
| VectorTransformation2D libmspub::VectorTransformation2D::fromCounterRadians | ( | double | theta | ) | [static] |
| VectorTransformation2D libmspub::VectorTransformation2D::fromFlips | ( | bool | flipH, |
| bool | flipV | ||
| ) | [static] |
| VectorTransformation2D libmspub::VectorTransformation2D::fromTranslate | ( | double | x, |
| double | y | ||
| ) | [static] |
| double libmspub::VectorTransformation2D::getHorizontalScaling | ( | ) | const |
Referenced by getRotation(), and libmspub::writeCustomShape().
| double libmspub::VectorTransformation2D::getRotation | ( | ) | const |
Referenced by libmspub::MSPUBCollector::paintShape(), and libmspub::writeCustomShape().
| double libmspub::VectorTransformation2D::getVerticalScaling | ( | ) | const |
Referenced by getRotation(), and libmspub::writeCustomShape().
| bool libmspub::VectorTransformation2D::orientationReversing | ( | ) | const |
Referenced by libmspub::writeCustomShape().
| Vector2D libmspub::VectorTransformation2D::transform | ( | Vector2D | original | ) | const |
Referenced by transformWithOrigin().
| Vector2D libmspub::VectorTransformation2D::transformWithOrigin | ( | Vector2D | v, |
| Vector2D | origin | ||
| ) | const |
Referenced by libmspub::calcClipPath(), libmspub::drawEmulatedLine(), and libmspub::writeCustomShape().
| VectorTransformation2D operator* | ( | const VectorTransformation2D & | l, |
| const VectorTransformation2D & | r | ||
| ) | [friend] |
double libmspub::VectorTransformation2D::m_m11 [private] |
double libmspub::VectorTransformation2D::m_m12 [private] |
double libmspub::VectorTransformation2D::m_m21 [private] |
double libmspub::VectorTransformation2D::m_m22 [private] |
double libmspub::VectorTransformation2D::m_x [private] |
Referenced by fromTranslate(), libmspub::operator*(), and transform().
double libmspub::VectorTransformation2D::m_y [private] |
Referenced by fromTranslate(), libmspub::operator*(), and transform().