|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
Iterates the lines and curves that a path contains. More...
#include "juce_Path.h"
Public Types | |
| enum | PathElementType { startNewSubPath , lineTo , quadraticTo , cubicTo , closePath } |
Public Member Functions | |
| Iterator (const Path &path) noexcept | |
| bool | next () noexcept |
| Moves onto the next element in the path. | |
Public Attributes | |
| PathElementType | elementType |
| float | x1 |
| float | y1 |
| float | x2 |
| float | y2 |
| float | x3 |
| float | y3 |
Iterates the lines and curves that a path contains.
Definition at line 724 of file juce_Path.h.
Definition at line 741 of file juce_Path.h.
Definition at line 1478 of file juce_Path.cpp.
|
noexcept |
Definition at line 1483 of file juce_Path.cpp.
|
noexcept |
Moves onto the next element in the path.
If this returns false, there are no more elements. If it returns true, the elementType variable will be set to the type of the current element, and some of the x and y variables will be filled in with values.
Definition at line 1487 of file juce_Path.cpp.
| PathElementType juce::Path::Iterator::elementType |
Definition at line 750 of file juce_Path.h.
| float juce::Path::Iterator::x1 |
Definition at line 752 of file juce_Path.h.
| float juce::Path::Iterator::x2 |
Definition at line 752 of file juce_Path.h.
| float juce::Path::Iterator::x3 |
Definition at line 752 of file juce_Path.h.
| float juce::Path::Iterator::y1 |
Definition at line 752 of file juce_Path.h.
| float juce::Path::Iterator::y2 |
Definition at line 752 of file juce_Path.h.
| float juce::Path::Iterator::y3 |
Definition at line 752 of file juce_Path.h.