krita
KisPattern Class Reference
Inheritance diagram for KisPattern:

Detailed Description
Definition at line 35 of file kis_pattern.h.
Public Member Functions | |
KisPattern (const QString &file) | |
KisPattern (KisPaintDevice *image, int x, int y, int w, int h) | |
virtual | ~KisPattern () |
virtual bool | load () |
virtual bool | save () |
virtual QImage | img () |
KisPaintDeviceSP | image (KisColorSpace *colorSpace) |
Q_INT32 | width () const |
Q_INT32 | height () const |
void | setImage (const QImage &img) |
KisPattern * | clone () const |
Protected Member Functions | |
void | setWidth (Q_INT32 w) |
void | setHeight (Q_INT32 h) |
Member Function Documentation
|
returns a KisPaintDeviceSP made with colorSpace as the ColorSpace strategy for use in the fill painter.
Definition at line 278 of file kis_pattern.cc. |
|
Returns a QImage representing this resource. This image could be null. Implements KisResource. Definition at line 153 of file kis_pattern.cc. |
|
Load this resource.
Implements KisResource. Definition at line 75 of file kis_pattern.cc. |
|
Save this resource asynchronously. The signal saveComplete is emitted when the resource has been saved. Implements KisResource. Definition at line 93 of file kis_pattern.cc. |
The documentation for this class was generated from the following files: