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);
99 void setControlPoint (
int index, const
RelativePoint& point, UndoManager*);
103 Element getPreviousElement() const;
105 String getModeOfEndPoint() const;
106 void setModeOfEndPoint (const
String& newMode, UndoManager*);
108 void convertToLine (UndoManager*);
109 void convertToCubic (
Expression::Scope*, UndoManager*);
110 void convertToPathBreak (UndoManager* undoManager);
112 void removePoint (UndoManager* undoManager);
113 float findProportionAlongLine (
Point<
float> targetPoint,
Expression::Scope*) const;
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;
137 friend class RelativePositioner;
145 #endif // JUCE_DRAWABLEPATH_H_INCLUDED
Definition: juce_DrawableShape.h:36
const Identifier getType() const noexcept
Definition: juce_DrawablePath.h:92
#define noexcept
Definition: juce_CompilerSupport.h:141
Definition: juce_Point.h:39
Definition: juce_String.h:43
long b
Definition: jpegint.h:371
#define JUCE_API
Definition: juce_StandardHeader.h:139
Definition: juce_DrawablePath.cpp:77
Identifier getType() const
Definition: juce_ValueTree.cpp:710
Definition: juce_RelativePoint.h:35
Definition: juce_Expression.h:48
png_structrp int mode
Definition: juce_PNGLoader.cpp:1243
Definition: juce_DrawableShape.h:127
Definition: juce_Path.h:62
Definition: juce_DrawablePath.h:78
Definition: juce_ScopedPointer.h:70
Definition: juce_DrawablePath.h:86
virtual Drawable * createCopy() const =0
virtual ValueTree createValueTree(ComponentBuilder::ImageProvider *imageProvider) const =0
Definition: juce_ComponentBuilder.h:45
Definition: juce_DrawablePath.h:37
Definition: juce_Drawable.h:35
Definition: juce_Value.h:44
Definition: juce_RelativePointPath.h:38
Definition: juce_ValueTree.h:64
#define JUCE_LEAK_DETECTOR(OwnerClass)
Definition: juce_LeakedObjectDetector.h:141
Definition: juce_UndoManager.h:49
Definition: juce_Identifier.h:43
static const Identifier valueTreeType
Definition: juce_DrawablePath.h:74
Definition: juce_ComponentBuilder.h:183