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 |
AffineTransform | resetToPerpendicular (Expression::Scope *scope) |
bool | isDynamic () const |
bool | operator== (const RelativeParallelogram &) const noexcept |
bool | operator!= (const RelativeParallelogram &) const noexcept |
Static Public Member Functions | |
static Point< float > | getInternalCoordForPoint (const Point< float > *parallelogramCorners, Point< float > point) noexcept |
static Point< float > | getPointForInternalCoord (const Point< float > *parallelogramCorners, Point< float > internalPoint) noexcept |
static 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 | ( | ) |
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 ) |
RelativeParallelogram::~RelativeParallelogram | ( | ) |
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 |
AffineTransform RelativeParallelogram::resetToPerpendicular | ( | Expression::Scope * | scope | ) |
bool RelativeParallelogram::isDynamic | ( | ) | const |
|
noexcept |
|
noexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
RelativePoint RelativeParallelogram::topLeft |
RelativePoint RelativeParallelogram::topRight |
RelativePoint RelativeParallelogram::bottomLeft |