32#include <tqpointarray.h>
33#include <koffice_export.h>
34class KoWmfWritePrivate;
75 void setDefaultDpi( int dpi );
78 void setFont( const TQFont& f );
80 void setPen( const TQPen& p );
81 void setBrush( const TQBrush& b );
84 void setBackgroundColor( const TQColor& r );
85 void setBackgroundMode( TQt::BGMode );
86 void setRasterOp( TQt::RasterOp );
89 void setWindow( int left, int top , int width, int height );
94 void setClipRegion( const TQRegion& r );
95 void clipping( bool enable );
98 void moveTo( int left, int top );
99 void lineTo( int left, int top );
100 void drawRect( int left, int top, int width, int height );
101 void drawRoundRect( int left, int top, int width, int height, int = 25, int = 25 );
102 void drawEllipse( int left, int top, int width, int height );
103 void drawArc( int left, int top, int width, int height, int a, int alen );
104 void drawPie( int left, int top, int width, int height, int a, int alen );
105 void drawChord( int left, int top, int width, int height, int a, int alen );
106 void drawPolyline( const TQPointArray& pa );
107 void drawPolygon( const TQPointArray& pa, bool winding= false );
110 void drawPolyPolygon( TQPtrList<TQPointArray>& listPa, bool winding= false );
111 void drawImage( int left, int top, const TQImage &, int sx = 0, int sy = 0, int sw = -1, int sh = -1 );
116 void drawText( int x, int y, int w, int h, int flags, const TQString &s, double rotation );
123 void pointArray( const TQPointArray& pa );
126 TQ_UINT32 winColor( TQColor color );
129 void angleToxy( int& xStart, int& yStart, int& xEnd, int& yEnd, int a, int alen );
132 TQ_UINT16 qtRasterToWin16( TQt::RasterOp op ) const;
133 TQ_UINT32 qtRasterToWin32( TQt::RasterOp op ) const;
137 KoWmfWritePrivate *d;
KoWmfWrite allows to create a windows placeable meta file (WMF).
|