JUCE
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions | Static Public Member Functions | Public Attributes
RelativeParallelogram Class Reference

A parallelogram defined by three RelativePoint positions. More...

List of all members.

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

Detailed Description

A parallelogram defined by three RelativePoint positions.

See also:
RelativePoint, RelativeCoordinate

Constructor & Destructor Documentation

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 
)

Member Function Documentation

void RelativeParallelogram::resolveThreePoints ( Point< float > *  points,
Expression::Scope scope 
) const
void RelativeParallelogram::resolveFourCorners ( Point< float > *  points,
Expression::Scope scope 
) const
void RelativeParallelogram::getPath ( Path path,
Expression::Scope scope 
) 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]

Member Data Documentation


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