lib
KoPictureWmf Class Reference
Inheritance diagram for KoPictureWmf:

Detailed Description
Definition at line 39 of file KoPictureWmf.h.
Public Member Functions | |
| KoPictureWmf () | |
| virtual | ~KoPictureWmf () |
| 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 |
| QSize | m_size |
| QSize | m_originalSize |
Constructor & Destructor Documentation
|
|
Default constructor.
Definition at line 38 of file KoPictureWmf.cpp. |
|
|
Destructor.
Definition at line 42 of file KoPictureWmf.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 81 of file KoPictureWmf.cpp. |
|
|
Returns true if the picture is null.
Reimplemented from KoPictureBase. Definition at line 56 of file KoPictureWmf.cpp. |
|
|
save file
Reimplemented from KoPictureBase. Definition at line 105 of file KoPictureWmf.cpp. |
The documentation for this class was generated from the following files:

