libmspub::VectorTransformation2D Class Reference documentation

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions | Private Attributes | Friends | List of all members
libmspub::VectorTransformation2D Class Reference

`#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)

## Constructor & Destructor Documentation

libmspub::VectorTransformation2D::VectorTransformation2D | ( |  | ) |

## Member Function Documentation

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

Referenced by libmspub::ShapeGroupElement::setup().

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().

## Friends And Related Function Documentation

VectorTransformation2D operator* | ( | const VectorTransformation2D & | l,
|  | const VectorTransformation2D & | r
| ) |  |
| friend

## Member Data Documentation

double libmspub::VectorTransformation2D::m_m11
| private

Referenced by fromCounterRadians(), fromFlips(), fromTranslate(), getHorizontalScaling(), getRotation(), libmspub::operator*(), orientationReversing(), and transform().

double libmspub::VectorTransformation2D::m_m12
| private

Referenced by fromCounterRadians(), fromFlips(), fromTranslate(), getRotation(), getVerticalScaling(), libmspub::operator*(), orientationReversing(), and transform().

double libmspub::VectorTransformation2D::m_m21
| private

Referenced by fromCounterRadians(), fromFlips(), fromTranslate(), getHorizontalScaling(), getRotation(), libmspub::operator*(), orientationReversing(), and transform().

double libmspub::VectorTransformation2D::m_m22
| private

Referenced by fromCounterRadians(), fromFlips(), fromTranslate(), getRotation(), getVerticalScaling(), libmspub::operator*(), orientationReversing(), and transform().

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().

The documentation for this class was generated from the following files:

- VectorTransformation2D.h
- VectorTransformation2D.cpp