Public Member Functions |
| QwtMathMLTextEngine () |
virtual | ~QwtMathMLTextEngine () |
virtual void | draw (QPainter *painter, const QRectF &rect, int flags, const QString &text) const |
virtual double | heightForWidth (const QFont &font, int flags, const QString &text, double width) const |
virtual bool | mightRender (const QString &) const |
virtual void | textMargins (const QFont &, const QString &, double &left, double &right, double &top, double &bottom) const |
virtual QSizeF | textSize (const QFont &font, int flags, const QString &text) const |
virtual | ~QwtTextEngine () |
Text Engine for the MathML renderer of the Qt solutions package.
To enable MathML support the following code needs to be added to the application:
#include <qwt_mathml_text_engine.h>
QwtText::setTextEngine(QwtText::MathMLText, new QwtMathMLTextEngine());
- See also:
- QwtTextEngine, QwtText::setTextEngine
- Warning:
- Unfortunately the MathML renderer doesn't support rotating of texts.