lib
KoPictureClipart Class Reference
Inheritance diagram for KoPictureClipart:

Detailed Description
Definition at line 35 of file KoPictureClipart.h.
Public Member Functions | |
KoPictureClipart () | |
virtual | ~KoPictureClipart () |
virtual KoPictureType::Type | getType (void) const |
virtual KoPictureBase * | newCopy (void) const |
virtual bool | isNull (void) const |
virtual void | draw (QPainter &painter, int x, int y, int width, int height, int sx=0, int sy=0, int sw=-1, int sh=-1, bool fastMode=false) |
virtual bool | loadData (const QByteArray &array, const QString &extension) |
virtual bool | save (QIODevice *io) const |
virtual QSize | getOriginalSize (void) const |
virtual QPixmap | generatePixmap (const QSize &size, bool smoothScale=false) |
virtual QString | getMimeType (const QString &extension) const |
Protected Member Functions | |
QPixmap | getPixmap (QImage &image) |
void | drawQPicture (QPicture &clipart, QPainter &painter, int x, int y, int width, int height, int sx, int sy, int sw, int sh) |
Protected Attributes | |
QPicture | m_clipart |
QByteArray | m_rawData |
Constructor & Destructor Documentation
|
Default constructor.
Definition at line 37 of file KoPictureClipart.cpp. |
|
Destructor.
Definition at line 41 of file KoPictureClipart.cpp. |
Member Function Documentation
|
Draw the image in a painter.
The parameter
The parameters
The other parameters are very similar to QPainter::drawPixmap : ( Reimplemented from KoPictureBase. Definition at line 80 of file KoPictureClipart.cpp. |
|
Returns true if the picture is null.
Reimplemented from KoPictureBase. Definition at line 55 of file KoPictureClipart.cpp. |
|
save file
Reimplemented from KoPictureBase. Definition at line 113 of file KoPictureClipart.cpp. |
Member Data Documentation
|
The clipart as QPicture.
Definition at line 98 of file KoPictureClipart.h. |
|
Copy of the loaded image file.
Definition at line 99 of file KoPictureClipart.h. |
The documentation for this class was generated from the following files: