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

#include <juce_gui_basics.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

◆ Element()

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

◆ ~Element()

DrawablePath::ValueTreeWrapper::Element::~Element ( )

Member Function Documentation

◆ convertToCubic()

void DrawablePath::ValueTreeWrapper::Element::convertToCubic ( Expression::Scope scope,
UndoManager undoManager 
)

◆ convertToLine()

void DrawablePath::ValueTreeWrapper::Element::convertToLine ( UndoManager undoManager)

◆ convertToPathBreak()

void DrawablePath::ValueTreeWrapper::Element::convertToPathBreak ( UndoManager undoManager)

◆ findProportionAlongLine()

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

◆ getControlPoint()

RelativePoint DrawablePath::ValueTreeWrapper::Element::getControlPoint ( int  index) const

◆ getControlPointValue()

Value DrawablePath::ValueTreeWrapper::Element::getControlPointValue ( int  index,
UndoManager undoManager 
)

◆ getEndPoint()

RelativePoint DrawablePath::ValueTreeWrapper::Element::getEndPoint ( ) const

◆ getLength()

float DrawablePath::ValueTreeWrapper::Element::getLength ( Expression::Scope scope) const

◆ getModeOfEndPoint()

String DrawablePath::ValueTreeWrapper::Element::getModeOfEndPoint ( ) const

◆ getNumControlPoints()

int DrawablePath::ValueTreeWrapper::Element::getNumControlPoints ( ) const
noexcept

◆ getParent()

DrawablePath::ValueTreeWrapper DrawablePath::ValueTreeWrapper::Element::getParent ( ) const

◆ getPreviousElement()

DrawablePath::ValueTreeWrapper::Element DrawablePath::ValueTreeWrapper::Element::getPreviousElement ( ) const

◆ getStartPoint()

RelativePoint DrawablePath::ValueTreeWrapper::Element::getStartPoint ( ) const

◆ getType()

const Identifier juce::DrawablePath::ValueTreeWrapper::Element::getType ( ) const
inlinenoexcept

◆ insertPoint()

ValueTree DrawablePath::ValueTreeWrapper::Element::insertPoint ( Point< float >  targetPoint,
Expression::Scope scope,
UndoManager undoManager 
)

◆ removePoint()

void DrawablePath::ValueTreeWrapper::Element::removePoint ( UndoManager undoManager)

◆ setControlPoint()

void DrawablePath::ValueTreeWrapper::Element::setControlPoint ( int  index,
const RelativePoint point,
UndoManager undoManager 
)

◆ setModeOfEndPoint()

void DrawablePath::ValueTreeWrapper::Element::setModeOfEndPoint ( const String newMode,
UndoManager undoManager 
)

Member Data Documentation

◆ closeSubPathElement

const Identifier DrawablePath::ValueTreeWrapper::Element::closeSubPathElement
static

◆ cornerMode

const char * DrawablePath::ValueTreeWrapper::Element::cornerMode = "corner"
static

◆ cubicToElement

const Identifier DrawablePath::ValueTreeWrapper::Element::cubicToElement
static

◆ lineToElement

const Identifier DrawablePath::ValueTreeWrapper::Element::lineToElement
static

◆ mode

const Identifier DrawablePath::ValueTreeWrapper::Element::mode
static

◆ quadraticToElement

const Identifier DrawablePath::ValueTreeWrapper::Element::quadraticToElement
static

◆ roundedMode

const char * DrawablePath::ValueTreeWrapper::Element::roundedMode = "round"
static

◆ startSubPathElement

const Identifier DrawablePath::ValueTreeWrapper::Element::startSubPathElement
static

◆ state

ValueTree juce::DrawablePath::ValueTreeWrapper::Element::state

◆ symmetricMode

const char * DrawablePath::ValueTreeWrapper::Element::symmetricMode = "symm"
static

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