JUCE  v5.1.1-3-g1a0b28c73
JUCE API
RelativeParallelogram Class Reference

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

#include <juce_RelativeParallelogram.h>

Collaboration diagram for RelativeParallelogram:

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
 

Detailed Description

A parallelogram defined by three RelativePoint positions.

See also
RelativePoint, RelativeCoordinate

Constructor & Destructor Documentation

◆ RelativeParallelogram() [1/4]

RelativeParallelogram::RelativeParallelogram ( )

◆ RelativeParallelogram() [2/4]

RelativeParallelogram::RelativeParallelogram ( const Rectangle< float > &  simpleRectangle)

◆ RelativeParallelogram() [3/4]

RelativeParallelogram::RelativeParallelogram ( const RelativePoint topLeft,
const RelativePoint topRight,
const RelativePoint bottomLeft 
)

◆ RelativeParallelogram() [4/4]

RelativeParallelogram::RelativeParallelogram ( const String topLeft,
const String topRight,
const String bottomLeft 
)

◆ ~RelativeParallelogram()

RelativeParallelogram::~RelativeParallelogram ( )

Member Function Documentation

◆ getBoundingBox()

static Rectangle<float> RelativeParallelogram::getBoundingBox ( const Point< float > *  parallelogramCorners)
staticnoexcept

◆ getBounds()

const Rectangle<float> RelativeParallelogram::getBounds ( Expression::Scope scope) const

◆ getInternalCoordForPoint()

static Point<float> RelativeParallelogram::getInternalCoordForPoint ( const Point< float > *  parallelogramCorners,
Point< float >  point 
)
staticnoexcept

◆ getPath()

void RelativeParallelogram::getPath ( Path path,
Expression::Scope scope 
) const

◆ getPointForInternalCoord()

static Point<float> RelativeParallelogram::getPointForInternalCoord ( const Point< float > *  parallelogramCorners,
Point< float >  internalPoint 
)
staticnoexcept

◆ isDynamic()

bool RelativeParallelogram::isDynamic ( ) const

◆ operator!=()

bool RelativeParallelogram::operator!= ( const RelativeParallelogram ) const
noexcept

◆ operator==()

bool RelativeParallelogram::operator== ( const RelativeParallelogram ) const
noexcept

◆ resetToPerpendicular()

AffineTransform RelativeParallelogram::resetToPerpendicular ( Expression::Scope scope)

◆ resolveFourCorners()

void RelativeParallelogram::resolveFourCorners ( Point< float > *  points,
Expression::Scope scope 
) const

◆ resolveThreePoints()

void RelativeParallelogram::resolveThreePoints ( Point< float > *  points,
Expression::Scope scope 
) const

Member Data Documentation

◆ bottomLeft

RelativePoint RelativeParallelogram::bottomLeft

◆ topLeft

RelativePoint RelativeParallelogram::topLeft

◆ topRight

RelativePoint RelativeParallelogram::topRight

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