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);
116 lineToElement, quadraticToElement, cubicToElement;
145 #endif // JUCE_DRAWABLEPATH_H_INCLUDED Identifier getType() const
Definition: juce_ValueTree.cpp:710
Definition: juce_DrawableShape.h:36
const Identifier getType() const noexcept
Definition: juce_DrawablePath.h:92
static const char * symmetricMode
Definition: juce_DrawablePath.h:119
#define noexcept
Definition: juce_CompilerSupport.h:141
Definition: juce_Expression.h:113
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
Definition: juce_RelativePoint.h:35
png_structrp int mode
Definition: juce_PNGLoader.cpp:1243
Definition: juce_DrawableShape.h:127
Definition: juce_Path.h:62
static const Identifier startSubPathElement
Definition: juce_DrawablePath.h:115
Definition: juce_DrawablePath.h:78
static const char * roundedMode
Definition: juce_DrawablePath.h:118
Definition: juce_DrawablePath.h:86
virtual Drawable * createCopy() const =0
virtual ValueTree createValueTree(ComponentBuilder::ImageProvider *imageProvider) const =0
static const char * cornerMode
Definition: juce_DrawablePath.h:117
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
static const Identifier point3
Definition: juce_DrawablePath.h:129
Definition: juce_UndoManager.h:49
ValueTree state
Definition: juce_DrawablePath.h:121
Definition: juce_Identifier.h:43
static const Identifier valueTreeType
Definition: juce_DrawablePath.h:74
Definition: juce_ComponentBuilder.h:183