36template <
typename ValueType>
58 :
topLeft (rectangle.getTopLeft()),
100 bool operator!= (
const Parallelogram& other)
const noexcept {
return ! operator== (other); }
123 return operator+ (-deltaPosition);
129 return operator-= (-deltaPosition);
133 template <
typename Po
intOrScalarType>
142 template <
typename Po
intOrScalarType>
168 transform.transformPoints (
p.topLeft.x,
p.topLeft.y,
169 p.topRight.x,
p.topRight.y,
170 p.bottomLeft.x,
p.bottomLeft.y);
#define noexcept
Definition DistrhoDefines.h:72
Definition juce_Line.h:47
ValueType getLength() const noexcept
Definition juce_Line.h:117
Parallelogram(Rectangle< ValueType > rectangle) noexcept
Definition juce_Parallelogram.h:57
ValueType getWidth() const noexcept
Definition juce_Parallelogram.h:77
Point< ValueType > getTopRight() const noexcept
Definition juce_Parallelogram.h:87
Parallelogram transformedBy(const AffineTransform &transform) const noexcept
Definition juce_Parallelogram.h:165
Parallelogram(Point< ValueType > topLeftPosition, Point< ValueType > topRightPosition, Point< ValueType > bottomLeftPosition) noexcept
Definition juce_Parallelogram.h:49
Point< ValueType > getTopLeft() const noexcept
Definition juce_Parallelogram.h:84
Point< ValueType > topLeft
Definition juce_Parallelogram.h:182
Point< ValueType > getBottomLeft() const noexcept
Definition juce_Parallelogram.h:90
Point< ValueType > getBottomRight() const noexcept
Definition juce_Parallelogram.h:93
Point< ValueType > topRight
Definition juce_Parallelogram.h:182
Point< ValueType > getRelativePoint(Point< ValueType > relativePosition) const noexcept
Definition juce_Parallelogram.h:157
Rectangle< ValueType > getBoundingBox() const noexcept
Definition juce_Parallelogram.h:176
bool isEmpty() const noexcept
Definition juce_Parallelogram.h:71
bool isFinite() const noexcept
Definition juce_Parallelogram.h:74
Point< ValueType > bottomLeft
Definition juce_Parallelogram.h:182
ValueType getHeight() const noexcept
Definition juce_Parallelogram.h:80
Parallelogram(const Parallelogram &)=default
Definition juce_Point.h:42
Definition juce_Rectangle.h:67
static Rectangle findAreaContainingPoints(const Point< ValueType > *points, int numPoints) noexcept
Definition juce_Rectangle.h:901
Definition carla_juce.cpp:31
uch * p
Definition crypt.c:594
#define const
Definition zconf.h:137