A parallelogram defined by three RelativePoint positions. More...
#include <juce_RelativeParallelogram.h>
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 () | |
const Rectangle< float > | getBounds (Expression::Scope *scope) const |
void | getPath (Path &path, Expression::Scope *scope) const |
bool | isDynamic () const |
bool | operator!= (const RelativeParallelogram &) const noexcept |
bool | operator== (const RelativeParallelogram &) const noexcept |
AffineTransform | resetToPerpendicular (Expression::Scope *scope) |
void | resolveFourCorners (Point< float > *points, Expression::Scope *scope) const |
void | resolveThreePoints (Point< float > *points, Expression::Scope *scope) const |
Static Public Member Functions | |
static Rectangle< float > | getBoundingBox (const Point< float > *parallelogramCorners) noexcept |
static Point< float > | getInternalCoordForPoint (const Point< float > *parallelogramCorners, Point< float > point) noexcept |
static Point< float > | getPointForInternalCoord (const Point< float > *parallelogramCorners, Point< float > internalPoint) noexcept |
Public Attributes | |
RelativePoint | bottomLeft |
RelativePoint | topLeft |
RelativePoint | topRight |
A parallelogram defined by three RelativePoint positions.
@tags{GUI}
juce::RelativeParallelogram::RelativeParallelogram | ( | ) |
juce::RelativeParallelogram::RelativeParallelogram | ( | const RelativePoint & | topLeft, |
const RelativePoint & | topRight, | ||
const RelativePoint & | bottomLeft | ||
) |
juce::RelativeParallelogram::RelativeParallelogram | ( | const String & | topLeft, |
const String & | topRight, | ||
const String & | bottomLeft | ||
) |
juce::RelativeParallelogram::~RelativeParallelogram | ( | ) |
|
staticnoexcept |
const Rectangle<float> juce::RelativeParallelogram::getBounds | ( | Expression::Scope * | scope | ) | const |
|
staticnoexcept |
void juce::RelativeParallelogram::getPath | ( | Path & | path, |
Expression::Scope * | scope | ||
) | const |
|
staticnoexcept |
bool juce::RelativeParallelogram::isDynamic | ( | ) | const |
|
noexcept |
|
noexcept |
AffineTransform juce::RelativeParallelogram::resetToPerpendicular | ( | Expression::Scope * | scope | ) |
void juce::RelativeParallelogram::resolveFourCorners | ( | Point< float > * | points, |
Expression::Scope * | scope | ||
) | const |
void juce::RelativeParallelogram::resolveThreePoints | ( | Point< float > * | points, |
Expression::Scope * | scope | ||
) | const |
RelativePoint juce::RelativeParallelogram::bottomLeft |
RelativePoint juce::RelativeParallelogram::topLeft |
RelativePoint juce::RelativeParallelogram::topRight |