12 #ifndef DtSymbolDrawerInterface_H_
13 #define DtSymbolDrawerInterface_H_
17 #include <QtCore/QSize>
18 #include <QtCore/QRect>
19 #include <QtCore/QObject>
20 #include <QtGui/QColor>
44 virtual bool doDrawing(QPainter& paint,
47 virtual QSize calcBBox(
const DtSymbol *
const symbol )
const = 0;
48 virtual QRect calcBRect(
const DtSymbol *
const symbol)
const;
53 virtual bool forceUpdate(
const DtSymbol*
const symbol)
const;
57 virtual bool endTransparentDraw(QPainter& paint,
58 const DtSymbol *
const symbol)
const;
62 virtual void processHiddenSymbolAction(QPainter& paint,
const DtSymbol *
const symbol);
70 static double drawScalingFactor();
71 static void setDrawScalingFactor(
double d);
73 virtual bool draw(QPainter& paint,
74 const DtSymbol *
const symbol )
const = 0;
76 static void setHighlightColor(
const QColor& color);
77 static const QColor& highlightColor();