|
Krita Source Code Documentation
|
The abstract parameter class. More...
#include <EnhancedPathParameter.h>
Inheritance diagram for EnhancedPathParameter:Public Member Functions | |
| EnhancedPathParameter (EnhancedPathShape *parent) | |
| virtual qreal | evaluate ()=0 |
| evaluates the parameter using the given path | |
| virtual void | modify (qreal value) |
| modifies the parameter if possible, using the new value | |
| virtual QString | toString () const =0 |
| returns string representation of the parameter | |
| virtual | ~EnhancedPathParameter () |
Protected Member Functions | |
| EnhancedPathShape * | parent () |
Private Attributes | |
| EnhancedPathShape * | m_parent |
The abstract parameter class.
Definition at line 33 of file EnhancedPathParameter.h.
|
explicit |
Definition at line 31 of file EnhancedPathParameter.cpp.
References m_parent.
|
virtual |
Definition at line 37 of file EnhancedPathParameter.cpp.
|
pure virtual |
evaluates the parameter using the given path
Implemented in EnhancedPathConstantParameter, EnhancedPathNamedParameter, and EnhancedPathReferenceParameter.
Definition at line 46 of file EnhancedPathParameter.cpp.
|
virtual |
modifies the parameter if possible, using the new value
Reimplemented in EnhancedPathReferenceParameter.
Definition at line 51 of file EnhancedPathParameter.cpp.
References value().
|
protected |
Definition at line 41 of file EnhancedPathParameter.cpp.
References m_parent.
|
pure virtual |
returns string representation of the parameter
Implemented in EnhancedPathConstantParameter, EnhancedPathNamedParameter, and EnhancedPathReferenceParameter.
|
private |
Definition at line 47 of file EnhancedPathParameter.h.