Go to the documentation of this file.
25 #ifndef JUCE_PATHSTROKETYPE_H_INCLUDED
26 #define JUCE_PATHSTROKETYPE_H_INCLUDED
76 JointStyle jointStyle,
77 EndCapStyle endStyle = butt)
noexcept;
105 void createStrokedPath (
Path& destPath,
106 const
Path& sourcePath,
108 float extraAccuracy = 1.0f) const;
135 void createDashedStroke (
Path& destPath,
136 const
Path& sourcePath,
137 const
float* dashLengths,
140 float extraAccuracy = 1.0f) const;
162 void createStrokeWithArrowheads (
Path& destPath,
163 const
Path& sourcePath,
164 float arrowheadStartWidth,
float arrowheadStartLength,
165 float arrowheadEndWidth,
float arrowheadEndLength,
167 float extraAccuracy = 1.0f) const;
171 float getStrokeThickness() const
noexcept {
return thickness; }
198 JointStyle jointStyle;
199 EndCapStyle endStyle;
204 #endif // JUCE_PATHSTROKETYPE_H_INCLUDED
Definition: juce_Path.h:62
bool operator==(const var &v1, const var &v2) noexcept
Definition: juce_Variant.cpp:565
#define JUCE_LEAK_DETECTOR(OwnerClass)
Definition: juce_LeakedObjectDetector.h:141
NumericType square(NumericType n) noexcept
Definition: juce_MathsFunctions.h:540
@ butt
Definition: juce_PathStrokeType.h:59
#define JUCE_API
Definition: juce_StandardHeader.h:139
void setJointStyle(JointStyle newStyle) noexcept
Definition: juce_PathStrokeType.h:180
#define noexcept
Definition: juce_CompilerSupport.h:141
void setStrokeThickness(float newThickness) noexcept
Definition: juce_PathStrokeType.h:174
JointStyle getJointStyle() const noexcept
Definition: juce_PathStrokeType.h:177
void setEndStyle(EndCapStyle newStyle) noexcept
Definition: juce_PathStrokeType.h:186
JointStyle
Definition: juce_PathStrokeType.h:44
Definition: juce_PathStrokeType.h:39
@ curved
Definition: juce_PathStrokeType.h:51
EndCapStyle getEndStyle() const noexcept
Definition: juce_PathStrokeType.h:183
bool operator!=(const var &v1, const var &v2) noexcept
Definition: juce_Variant.cpp:566
EndCapStyle
Definition: juce_PathStrokeType.h:57