|
Krita Source Code Documentation
|
A constant parameter, a fixed value (i.e. 5, 11.3, -7) More...
#include <EnhancedPathParameter.h>
Inheritance diagram for EnhancedPathConstantParameter:Public Member Functions | |
| EnhancedPathConstantParameter (qreal value, EnhancedPathShape *parent) | |
| Constructs the constant parameter with the given value. | |
| qreal | evaluate () override |
| evaluates the parameter using the given path | |
| QString | toString () const override |
| returns string representation of the parameter | |
Public Member Functions inherited from EnhancedPathParameter | |
| EnhancedPathParameter (EnhancedPathShape *parent) | |
| virtual void | modify (qreal value) |
| modifies the parameter if possible, using the new value | |
| virtual | ~EnhancedPathParameter () |
Private Attributes | |
| qreal | m_value |
| the constant value | |
Additional Inherited Members | |
Protected Member Functions inherited from EnhancedPathParameter | |
| EnhancedPathShape * | parent () |
A constant parameter, a fixed value (i.e. 5, 11.3, -7)
Definition at line 51 of file EnhancedPathParameter.h.
| EnhancedPathConstantParameter::EnhancedPathConstantParameter | ( | qreal | value, |
| EnhancedPathShape * | parent ) |
Constructs the constant parameter with the given value.
Definition at line 56 of file EnhancedPathParameter.cpp.
|
overridevirtual |
evaluates the parameter using the given path
Implements EnhancedPathParameter.
Definition at line 62 of file EnhancedPathParameter.cpp.
References m_value.
|
overridevirtual |
returns string representation of the parameter
Implements EnhancedPathParameter.
Definition at line 67 of file EnhancedPathParameter.cpp.
References m_value.
|
private |
the constant value
Definition at line 59 of file EnhancedPathParameter.h.