openshot-audio
0.1.6
|
#include <juce_gui_basics.h>
Classes | |
class | CloseSubPath |
class | CubicTo |
class | ElementBase |
class | LineTo |
class | QuadraticTo |
class | StartSubPath |
Public Types | |
enum | ElementType { nullElement, startSubPathElement, closeSubPathElement, lineToElement, quadraticToElement, cubicToElement } |
Public Member Functions | |
RelativePointPath () | |
RelativePointPath (const RelativePointPath &) | |
RelativePointPath (const Path &path) | |
~RelativePointPath () | |
bool | operator== (const RelativePointPath &) const noexcept |
bool | operator!= (const RelativePointPath &) const noexcept |
void | createPath (Path &path, Expression::Scope *scope) const |
bool | containsAnyDynamicPoints () const |
void | swapWith (RelativePointPath &) noexcept |
void | addElement (ElementBase *newElement) |
Public Attributes | |
OwnedArray< ElementBase > | elements |
bool | usesNonZeroWinding |
Friends | |
class | Positioner |
A path object that consists of RelativePoint coordinates rather than the normal fixed ones.
One of these paths can be converted into a Path object for drawing and manipulation, but unlike a Path, its points can be dynamic instead of just fixed.
The types of element that may be contained in this path.
Enumerator | |
---|---|
nullElement | |
startSubPathElement | |
closeSubPathElement | |
lineToElement | |
quadraticToElement | |
cubicToElement |
RelativePointPath::RelativePointPath | ( | ) |
RelativePointPath::RelativePointPath | ( | const RelativePointPath & | other | ) |
RelativePointPath::~RelativePointPath | ( | ) |
void RelativePointPath::addElement | ( | ElementBase * | newElement | ) |
bool RelativePointPath::containsAnyDynamicPoints | ( | ) | const |
Returns true if the path contains any non-fixed points.
void RelativePointPath::createPath | ( | Path & | path, |
Expression::Scope * | scope | ||
) | const |
Resolves this points in this path and adds them to a normal Path object.
|
noexcept |
|
noexcept |
|
noexcept |
Quickly swaps the contents of this path with another.
|
friend |
OwnedArray<ElementBase> juce::RelativePointPath::elements |
bool juce::RelativePointPath::usesNonZeroWinding |