JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::RelativeParallelogram Class Reference

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

#include <juce_RelativeParallelogram.h>

Collaboration diagram for juce::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< floatgetBounds (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< floatgetBoundingBox (const Point< float > *parallelogramCorners) noexcept
 
static Point< floatgetInternalCoordForPoint (const Point< float > *parallelogramCorners, Point< float > point) noexcept
 
static Point< floatgetPointForInternalCoord (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

@tags{GUI}

Constructor & Destructor Documentation

◆ RelativeParallelogram() [1/4]

juce::RelativeParallelogram::RelativeParallelogram ( )

◆ RelativeParallelogram() [2/4]

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

◆ RelativeParallelogram() [3/4]

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

◆ RelativeParallelogram() [4/4]

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

◆ ~RelativeParallelogram()

juce::RelativeParallelogram::~RelativeParallelogram ( )

Member Function Documentation

◆ getBoundingBox()

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

◆ getBounds()

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

◆ getInternalCoordForPoint()

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

◆ getPath()

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

◆ getPointForInternalCoord()

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

◆ isDynamic()

bool juce::RelativeParallelogram::isDynamic ( ) const

◆ operator!=()

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

◆ operator==()

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

◆ resetToPerpendicular()

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

◆ resolveFourCorners()

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

◆ resolveThreePoints()

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

Member Data Documentation

◆ bottomLeft

RelativePoint juce::RelativeParallelogram::bottomLeft

◆ topLeft

RelativePoint juce::RelativeParallelogram::topLeft

◆ topRight

RelativePoint juce::RelativeParallelogram::topRight

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