24#include <../kofficecore/koffice_export.h>
42class KOWMF_EXPORT KoWmfPaint : public KoWmfRead
54 bool play( TQPaintDevice& target, bool relativeCoord= false );
66 void setFont( const TQFont& font );
68 void setPen( const TQPen& pen );
69 const TQPen& pen() const;
70 void setBrush( const TQBrush& brush );
73 void setBackgroundColor( const TQColor& c );
74 void setBackgroundMode( TQt::BGMode mode );
75 void setRasterOp( TQt::RasterOp op );
83 void setWindowOrg( int left, int top );
84 void setWindowExt( int width, int height );
89 void setClipRegion( const TQRegion &rec );
90 TQRegion clipRegion();
93 void moveTo( int x, int y );
94 void lineTo( int x, int y );
95 void drawRect( int x, int y, int w, int h );
96 void drawRoundRect( int x, int y, int w, int h, int = 25, int = 25 );
97 void drawEllipse( int x, int y, int w, int h );
98 void drawArc( int x, int y, int w, int h, int a, int alen );
99 void drawPie( int x, int y, int w, int h, int a, int alen );
100 void drawChord( int x, int y, int w, int h, int a, int alen );
101 void drawPolyline( const TQPointArray& pa );
102 void drawPolygon( const TQPointArray& pa, bool winding= false );
107 void drawPolyPolygon( TQPtrList<TQPointArray>& listPa, bool winding= false );
108 void drawImage( int x, int y, const TQImage &, int sx = 0, int sy = 0, int sw = -1, int sh = -1 );
113 void drawText( int x, int y, int w, int h, int flags, const TQString &s, double rotation );
116 void setWorldMatrix( const TQWMatrix &, bool combine= false );
120 TQPaintDevice *mTarget;
123 TQWMatrix mInternalWorldMatrix;
virtual bool play() play the WMF file => call virtuals functions
|