Abstract base class for rendering text strings.
virtual double heightForWidth(const QFont &font, int flags, const QString &text, double width) const =0
virtual void draw(QPainter *painter, const QRectF &rect, int flags, const QString &text) const =0
A text engine for Qt rich texts.
virtual bool mightRender(const QString &text) const =0
virtual void textMargins(const QFont &font, const QString &text, double &left, double &right, double &top, double &bottom) const =0
virtual QSizeF textSize(const QFont &font, int flags, const QString &text) const =0
A text engine for plain texts.