Go to the documentation of this file.
25 #ifndef JUCE_DRAWABLEPATH_H_INCLUDED
26 #define JUCE_DRAWABLEPATH_H_INCLUDED
52 void setPath (
const Path& newPath);
61 const Path& getPath()
const;
64 const Path& getStrokePath()
const;
83 bool usesNonZeroWinding()
const;
84 void setUsesNonZeroWinding (
bool b,
UndoManager* undoManager);
93 int getNumControlPoints() const
noexcept;
103 Element getPreviousElement() const;
105 String getModeOfEndPoint() const;
110 void convertToPathBreak (
UndoManager* undoManager);
113 float findProportionAlongLine (
Point<
float> targetPoint,
Expression::Scope*) const;
115 static const
Identifier mode, startSubPathElement, closeSubPathElement,
116 lineToElement, quadraticToElement, cubicToElement;
117 static const
char* cornerMode;
118 static const
char* roundedMode;
119 static const
char* symmetricMode;
129 static const
Identifier nonZeroWinding, point1, point2, point3;
145 #endif // JUCE_DRAWABLEPATH_H_INCLUDED
Definition: juce_Path.h:62
virtual ValueTree createValueTree(ComponentBuilder::ImageProvider *imageProvider) const =0
Definition: juce_DrawableShape.h:127
#define JUCE_LEAK_DETECTOR(OwnerClass)
Definition: juce_LeakedObjectDetector.h:141
Definition: juce_String.h:43
Definition: juce_Expression.h:48
Definition: juce_DrawablePath.h:37
Definition: juce_Value.h:44
#define JUCE_API
Definition: juce_StandardHeader.h:139
Definition: juce_Drawable.h:35
Definition: juce_ScopedPointer.h:70
Definition: juce_ComponentBuilder.h:45
virtual Drawable * createCopy() const =0
#define noexcept
Definition: juce_CompilerSupport.h:141
Definition: juce_RelativePointPath.h:38
Definition: juce_Identifier.h:43
Definition: juce_RelativePoint.h:35
const Identifier getType() const noexcept
Definition: juce_DrawablePath.h:92
Definition: juce_DrawablePath.h:86
Definition: juce_UndoManager.h:49
static const Identifier valueTreeType
Definition: juce_DrawablePath.h:74
Definition: juce_DrawableShape.h:36
Identifier getType() const
Definition: juce_ValueTree.cpp:710
Definition: juce_Point.h:39
Definition: juce_ComponentBuilder.h:183
Definition: juce_DrawablePath.cpp:77
Definition: juce_ValueTree.h:64
Definition: juce_DrawablePath.h:78