1#ifndef KIVIO_SHAPE_PAINTER_H
2#define KIVIO_SHAPE_PAINTER_H
8#include "kivio_fill_style.h"
13class KivioShapePainter
16 KivioFillStyle m_fillStyle;
17 KivioPainter *m_pPainter;
22 float m_x, m_y, m_w, m_h;
27 void drawClosedPath();
32 void drawRoundRectangle();
38 KivioShapePainter( KivioPainter * );
39 virtual ~KivioShapePainter();
42 void setFGColor( const TQColor &c ) { m_fgColor = c; }
43 void setBGColor( const TQColor &c ) { m_fillStyle.setColor(c); }
44 void setLineWidth( const float &f ) { m_lineWidth = f; }
46 void drawShape( KivioShape *, float, float, float, float );
47 void drawShapeOutline( KivioShape *, float, float, float, float );
|