20#ifndef _kpresenter_utils_h__
21#define _kpresenter_utils_h__
24#include "KoPointArray.h"
35void drawFigure( LineEnd figure, TQPainter* painter, const KoPoint &coord, const TQColor & color,
36 int _w, float angle, KoZoomHandler*_zoomHandler );
37void drawFigureWithOffset( LineEnd figure, TQPainter* painter, const TQPoint &coord, const TQColor & color,
38 int _w, float angle, KoZoomHandler*_zoomHandler );
39void drawFigureWithOffset( LineEnd figure, TQPainter* painter, const KoPoint &coord, const TQColor &color,
40 int w, float angle, KoZoomHandler*_zoomHandler, bool begin);
41KoSize getBoundingSize( LineEnd figure, int _w, const KoZoomHandler*_zoomHandler );
42KoSize getOffset( LineEnd figure, int _w, float angle );
43TQString lineEndBeginName( LineEnd type );
44LineEnd lineEndBeginFromString( const TQString & name );
45TQString lineEndBeginSvg( LineEnd element );
46TQString saveOasisTimer( int second );
47int loadOasisTimer( const TQString & timer );
52 static TQCursor penCursor();
53 static TQCursor rotateCursor();
56int readOasisSettingsInt( const TQDomElement & element );
57double readOasisSettingsDouble( const TQDomElement & element );
58bool readOasisSettingsBool( const TQDomElement & element );
59TQString readOasisSettingsString( const TQDomElement & element );
|