JUCE
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions | Public Attributes | Static Public Attributes
DrawablePath::ValueTreeWrapper::Element Class Reference

List of all members.

Public Member Functions

 Element (const ValueTree &state)
 ~Element ()
const Identifier getType () const noexcept
int getNumControlPoints () const noexcept
RelativePoint getControlPoint (int index) const
Value getControlPointValue (int index, UndoManager *)
RelativePoint getStartPoint () const
RelativePoint getEndPoint () const
void setControlPoint (int index, const RelativePoint &point, UndoManager *)
float getLength (Expression::Scope *) const
ValueTreeWrapper getParent () const
Element getPreviousElement () const
String getModeOfEndPoint () const
void setModeOfEndPoint (const String &newMode, UndoManager *)
void convertToLine (UndoManager *)
void convertToCubic (Expression::Scope *, UndoManager *)
void convertToPathBreak (UndoManager *undoManager)
ValueTree insertPoint (const Point< float > &targetPoint, Expression::Scope *, UndoManager *)
void removePoint (UndoManager *undoManager)
float findProportionAlongLine (const Point< float > &targetPoint, Expression::Scope *) const

Public Attributes

ValueTree state

Static Public Attributes

static const Identifier mode
static const Identifier startSubPathElement
static const Identifier closeSubPathElement
static const Identifier lineToElement
static const Identifier quadraticToElement
static const Identifier cubicToElement
static const char * cornerMode
static const char * roundedMode
static const char * symmetricMode

Constructor & Destructor Documentation


Member Function Documentation

References ValueTree::getType().

float DrawablePath::ValueTreeWrapper::Element::findProportionAlongLine ( const Point< float > &  targetPoint,
Expression::Scope  
) const

Member Data Documentation


The documentation for this class was generated from the following file: