|
Krita Source Code Documentation
|
A referencing parameter, one that references another formula or a modifier. More...
#include <EnhancedPathParameter.h>
Inheritance diagram for EnhancedPathReferenceParameter:Public Member Functions | |
| EnhancedPathReferenceParameter (const QString &reference, EnhancedPathShape *parent) | |
| Constructs reference parameter from the given reference string. | |
| qreal | evaluate () override |
| evaluates the parameter using the given path | |
| void | modify (qreal value) override |
| modifies the parameter if possible, using the new value | |
| QString | toString () const override |
| returns string representation of the parameter | |
Public Member Functions inherited from EnhancedPathParameter | |
| EnhancedPathParameter (EnhancedPathShape *parent) | |
| virtual | ~EnhancedPathParameter () |
Private Attributes | |
| QString | m_reference |
| the reference, formula or modifier | |
Additional Inherited Members | |
Protected Member Functions inherited from EnhancedPathParameter | |
| EnhancedPathShape * | parent () |
A referencing parameter, one that references another formula or a modifier.
Definition at line 79 of file EnhancedPathParameter.h.
|
explicit |
Constructs reference parameter from the given reference string.
Definition at line 174 of file EnhancedPathParameter.cpp.
|
overridevirtual |
evaluates the parameter using the given path
Implements EnhancedPathParameter.
Definition at line 180 of file EnhancedPathParameter.cpp.
References EnhancedPathShape::evaluateReference(), m_reference, and EnhancedPathParameter::parent().
|
overridevirtual |
modifies the parameter if possible, using the new value
Reimplemented from EnhancedPathParameter.
Definition at line 185 of file EnhancedPathParameter.cpp.
References m_reference, EnhancedPathShape::modifyReference(), EnhancedPathParameter::parent(), and value().
|
overridevirtual |
returns string representation of the parameter
Implements EnhancedPathParameter.
Definition at line 190 of file EnhancedPathParameter.cpp.
References m_reference.
|
private |
the reference, formula or modifier
Definition at line 88 of file EnhancedPathParameter.h.