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