lib
KoWmfPaint Class Reference
#include <kowmfpaint.h>
Inheritance diagram for KoWmfPaint:

Detailed Description
KoWmfPaint inherits the abstract class KoWmfRead and redirects WMF actions onto a QPaintDevice.Uses relative or absolute coordinate.
how to use:
QPixmap pix( 100, 100 ); KoWmfPaint wmf; if ( wmf.load( "/home/test.wmf" ) ) { wmf.play( pix ); } paint.drawPixmap( 0, 0, pix );
Definition at line 42 of file kowmfpaint.h.
Public Member Functions | |
KoWmfPaint () | |
~KoWmfPaint () | |
bool | play (QPaintDevice &target, bool relativeCoord=false) |
Member Function Documentation
bool KoWmfPaint::play | ( | QPaintDevice & | target, | |
bool | relativeCoord = false | |||
) |
play WMF file on a QPaintDevice.
Return true on success. Use absolute or relative coordinate : absolute coord. reset the world transfomation Matrix (by default) relative coord. use the existing world transfomation Matrix
Definition at line 28 of file kowmfpaint.cc.
The documentation for this class was generated from the following files: