A parallelogram defined by three RelativePoint positions. More...
Public Member Functions | |
| RelativeParallelogram () | |
| RelativeParallelogram (const Rectangle< float > &simpleRectangle) | |
| RelativeParallelogram (const RelativePoint &topLeft, const RelativePoint &topRight, const RelativePoint &bottomLeft) | |
| RelativeParallelogram (const String &topLeft, const String &topRight, const String &bottomLeft) | |
| ~RelativeParallelogram () | |
| void | resolveThreePoints (Point< float > *points, Expression::Scope *scope) const |
| void | resolveFourCorners (Point< float > *points, Expression::Scope *scope) const |
| const Rectangle< float > | getBounds (Expression::Scope *scope) const |
| void | getPath (Path &path, Expression::Scope *scope) const |
| const AffineTransform | resetToPerpendicular (Expression::Scope *scope) |
| bool | isDynamic () const |
| bool | operator== (const RelativeParallelogram &other) const noexcept |
| bool | operator!= (const RelativeParallelogram &other) const noexcept |
Static Public Member Functions | |
| static const Point< float > | getInternalCoordForPoint (const Point< float > *parallelogramCorners, Point< float > point) noexcept |
| static const Point< float > | getPointForInternalCoord (const Point< float > *parallelogramCorners, const Point< float > &internalPoint) noexcept |
| static const Rectangle< float > | getBoundingBox (const Point< float > *parallelogramCorners) noexcept |
Public Attributes | |
| RelativePoint | topLeft |
| RelativePoint | topRight |
| RelativePoint | bottomLeft |
A parallelogram defined by three RelativePoint positions.
| RelativeParallelogram::RelativeParallelogram | ( | const Rectangle< float > & | simpleRectangle | ) |
| RelativeParallelogram::RelativeParallelogram | ( | const RelativePoint & | topLeft, |
| const RelativePoint & | topRight, | ||
| const RelativePoint & | bottomLeft | ||
| ) |
| RelativeParallelogram::RelativeParallelogram | ( | const String & | topLeft, |
| const String & | topRight, | ||
| const String & | bottomLeft | ||
| ) |
| void RelativeParallelogram::resolveThreePoints | ( | Point< float > * | points, |
| Expression::Scope * | scope | ||
| ) | const |
| void RelativeParallelogram::resolveFourCorners | ( | Point< float > * | points, |
| Expression::Scope * | scope | ||
| ) | const |
| const Rectangle<float> RelativeParallelogram::getBounds | ( | Expression::Scope * | scope | ) | const |
| void RelativeParallelogram::getPath | ( | Path & | path, |
| Expression::Scope * | scope | ||
| ) | const |
| const AffineTransform RelativeParallelogram::resetToPerpendicular | ( | Expression::Scope * | scope | ) |
| bool RelativeParallelogram::isDynamic | ( | ) | const |
| bool RelativeParallelogram::operator== | ( | const RelativeParallelogram & | other | ) | const |
| bool RelativeParallelogram::operator!= | ( | const RelativeParallelogram & | other | ) | const |
| static const Point<float> RelativeParallelogram::getInternalCoordForPoint | ( | const Point< float > * | parallelogramCorners, |
| Point< float > | point | ||
| ) | [static] |
| static const Point<float> RelativeParallelogram::getPointForInternalCoord | ( | const Point< float > * | parallelogramCorners, |
| const Point< float > & | internalPoint | ||
| ) | [static] |
| static const Rectangle<float> RelativeParallelogram::getBoundingBox | ( | const Point< float > * | parallelogramCorners | ) | [static] |