#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) |
libmspub::VectorTransformation2D::VectorTransformation2D | ( | ) |
Referenced by fromCounterRadians(), fromFlips(), fromTranslate(), and operator*.
|
static |
Referenced by libmspub::MSPUBCollector::setupShapeStructures().
|
static |
Referenced by libmspub::MSPUBCollector::setupShapeStructures().
|
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().
Referenced by transformWithOrigin().
Vector2D libmspub::VectorTransformation2D::transformWithOrigin | ( | Vector2D | v, |
Vector2D | origin ) const |
Referenced by libmspub::calcClipPath(), libmspub::drawEmulatedLine(), and libmspub::writeCustomShape().
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by fromTranslate(), operator*, transform(), and VectorTransformation2D().
|
private |
Referenced by fromTranslate(), operator*, transform(), and VectorTransformation2D().