krita
KisGradient Class Reference
Inheritance diagram for KisGradient:

Detailed Description
Definition at line 232 of file kis_gradient.h.
Public Member Functions | |
KisGradient (const QString &file) | |
virtual | ~KisGradient () |
virtual bool | load () |
virtual bool | save () |
virtual QImage | img () |
virtual QImage | generatePreview (int width, int height) const |
void | colorAt (double t, QColor *color, Q_UINT8 *opacity) const |
KisGradientSegment * | segmentAt (double t) const |
Protected Member Functions | |
void | pushSegment (KisGradientSegment *segment) |
void | setImage (const QImage &img) |
Protected Attributes | |
QValueVector< KisGradientSegment * > | m_segments |
Member Function Documentation
|
Returns a QImage representing this resource. This image could be null. Implements KisResource. Definition at line 75 of file kis_gradient.cc. |
|
Load this resource.
Implements KisResource. Reimplemented in KisAutogradientResource. Definition at line 65 of file kis_gradient.cc. |
|
Save this resource asynchronously. The signal saveComplete is emitted when the resource has been saved. Implements KisResource. Definition at line 70 of file kis_gradient.cc. |
The documentation for this class was generated from the following files: