|
LMMS
|
#include <juce_Parallelogram.h>
Public Attributes | |
| Point< ValueType > | topLeft |
| Point< ValueType > | topRight |
| Point< ValueType > | bottomLeft |
Represents a parallelogram that is defined by 3 points.
@tags{Graphics}
|
default |
Creates a parallelogram with zero size at the origin.
|
default |
Creates a copy of another parallelogram.
|
inlinenoexcept |
Creates a parallelogram based on 3 points.
|
inlinenoexcept |
Creates a parallelogram from a rectangle.
|
default |
Destructor.
|
inlinenoexcept |
Returns the parallelogram's bottom-left position as a Point.
|
inlinenoexcept |
Returns the parallelogram's bottom-right position as a Point.
|
inlinenoexcept |
Returns the smallest rectangle that encloses this parallelogram.
|
inlinenoexcept |
Returns the height of the parallelogram (i.e. the straight-line distance between the top-left and bottom-left.
|
inlinenoexcept |
Returns a point within this parallelogram, specified as proportional coordinates. The relative X and Y values should be between 0 and 1, where 0 is the left or top of this parallelogram, and 1 is the right or bottom. (Out-of-bounds values will return a point outside the parallelogram).
|
inlinenoexcept |
Returns the parallelogram's top-left position as a Point.
|
inlinenoexcept |
Returns the parallelogram's top-right position as a Point.
|
inlinenoexcept |
Returns the width of the parallelogram (i.e. the straight-line distance between the top-left and top-right.
|
inlinenoexcept |
Returns true if the parallelogram has a width or height of more than zero.
|
inlinenoexcept |
Returns true if the parallelogram's coordinates are all finite numbers, i.e. not NaN or infinity.
|
inlinenoexcept |
Returns true if the two parallelograms are not identical.
|
inlinenoexcept |
Returns a parallelogram that has been scaled by the given amount, centred around the origin.
|
inlinenoexcept |
Scales this parallelogram by the given amount, centred around the origin.
|
inlinenoexcept |
Returns a parallelogram which is the same as this one moved by a given amount.
|
inlinenoexcept |
Moves this parallelogram by a given amount.
|
inlinenoexcept |
Returns a parallelogram which is the same as this one moved by a given amount.
|
inlinenoexcept |
Moves this parallelogram by a given amount.
|
default |
|
inlinenoexcept |
Returns true if the two parallelograms are identical.
|
inlinenoexcept |
Returns a transformed version of the parallelogram.
| Point<ValueType> juce::Parallelogram< ValueType >::bottomLeft |
| Point<ValueType> juce::Parallelogram< ValueType >::topLeft |
| Point<ValueType> juce::Parallelogram< ValueType >::topRight |