12 #ifndef QWT_MATHML_TEXT_ENGINE_H
13 #define QWT_MATHML_TEXT_ENGINE_H 1
15 #if QT_VERSION >= 0x040000
17 #include "qwt_text_engine.h"
46 const QString &text,
int width)
const;
48 virtual QSize
textSize(
const QFont &font,
int flags,
49 const QString &text)
const;
51 virtual void draw(QPainter *painter,
const QRect &rect,
52 int flags,
const QString &text)
const;
56 virtual void textMargins(
const QFont &,
const QString &,
57 int &left,
int &right,
int &top,
int &bottom)
const;
60 #endif // QT_VERSION >= 0x040000