openshot-audio  0.1.7
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
DrawablePath::ValueTreeWrapper::Element Class Reference

#include <juce_DrawablePath.h>

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 (Point< float > targetPoint, Expression::Scope *, UndoManager *)
 
void removePoint (UndoManager *undoManager)
 
float findProportionAlongLine (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 = "corner"
 
static const char * roundedMode = "round"
 
static const char * symmetricMode = "symm"
 

Constructor & Destructor Documentation

DrawablePath::ValueTreeWrapper::Element::Element ( const ValueTree state)
explicit
DrawablePath::ValueTreeWrapper::Element::~Element ( )

Member Function Documentation

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

Member Data Documentation

const Identifier DrawablePath::ValueTreeWrapper::Element::closeSubPathElement
static
const char * DrawablePath::ValueTreeWrapper::Element::cornerMode = "corner"
static
const Identifier DrawablePath::ValueTreeWrapper::Element::cubicToElement
static
const Identifier DrawablePath::ValueTreeWrapper::Element::lineToElement
static
const Identifier DrawablePath::ValueTreeWrapper::Element::mode
static
const Identifier DrawablePath::ValueTreeWrapper::Element::quadraticToElement
static
const char * DrawablePath::ValueTreeWrapper::Element::roundedMode = "round"
static
const Identifier DrawablePath::ValueTreeWrapper::Element::startSubPathElement
static
ValueTree DrawablePath::ValueTreeWrapper::Element::state
const char * DrawablePath::ValueTreeWrapper::Element::symmetricMode = "symm"
static

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