lib
KoPictureEps Class Reference
Inheritance diagram for KoPictureEps:

Detailed Description
Definition at line 35 of file KoPictureEps.h.
Public Member Functions | |
KoPictureEps () | |
virtual | ~KoPictureEps () |
KoPictureType::Type | getType (void) const |
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 |
virtual QImage | generateImage (const QSize &size) |
virtual void | clearCache (void) |
Protected Member Functions | |
QPixmap | getPixmap (QImage &image) |
void | scaleAndCreatePixmap (const QSize &size, bool fastMode, const int resolutionx, const int resolutiony) |
QImage | scaleWithGhostScript (const QSize &size, const int resolutionx, const int resolutiony) |
bool | extractPostScriptStream (void) |
Constructor & Destructor Documentation
|
Default constructor.
Definition at line 49 of file KoPictureEps.cpp. |
|
Destructor.
Definition at line 55 of file KoPictureEps.cpp. |
Member Function Documentation
|
Draw the image in a painter. No, this isn't as simple as painter.drawPixmap(). This method ensures that the best quality is used when printing, scaling the painter.
The parameter
The parameters
The other parameters are very similar to QPainter::drawPixmap : ( Reimplemented from KoPictureBase. Definition at line 236 of file KoPictureEps.cpp. |
|
Generate a QImage (always in slow mode).
Reimplemented from KoPictureBase. Definition at line 436 of file KoPictureEps.cpp. |
|
Returns true if the picture is null.
Reimplemented from KoPictureBase. Definition at line 69 of file KoPictureEps.cpp. |
|
save file
Reimplemented from KoPictureBase. Definition at line 413 of file KoPictureEps.cpp. |
The documentation for this class was generated from the following files: