JUCE
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
RelativeParallelogram Class Reference

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
 

Detailed Description

A parallelogram defined by three RelativePoint positions.

See also
RelativePoint, RelativeCoordinate

Constructor & Destructor Documentation

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

Member Function Documentation

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
bool RelativeParallelogram::operator== ( const RelativeParallelogram ) const
noexcept
bool RelativeParallelogram::operator!= ( const RelativeParallelogram ) const
noexcept
static Point<float> RelativeParallelogram::getInternalCoordForPoint ( const Point< float > *  parallelogramCorners,
Point< float >  point 
)
staticnoexcept
static Point<float> RelativeParallelogram::getPointForInternalCoord ( const Point< float > *  parallelogramCorners,
Point< float >  internalPoint 
)
staticnoexcept
static Rectangle<float> RelativeParallelogram::getBoundingBox ( const Point< float > *  parallelogramCorners)
staticnoexcept

Member Data Documentation

RelativePoint RelativeParallelogram::topLeft
RelativePoint RelativeParallelogram::topRight
RelativePoint RelativeParallelogram::bottomLeft

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