

QwtPlainTextEngine renders texts using the basic Qt classes QPainter and QFontMetrics.
Definition at line 116 of file qwt_text_engine.h.
| Public Member Functions | |
| QwtPlainTextEngine () | |
| virtual | ~QwtPlainTextEngine () | 
| virtual int | heightForWidth (const QFont &font, int flags, const QString &text, int width) const | 
| virtual QSize | textSize (const QFont &font, int flags, const QString &text) const | 
| virtual void | draw (QPainter *painter, const QRect &rect, int flags, const QString &text) const | 
| virtual bool | mightRender (const QString &) const | 
| virtual void | textMargins (const QFont &, const QString &, int &left, int &right, int &top, int &bottom) const | 
| 
 | 
| Constructor. 
 Definition at line 134 of file qwt_text_engine.cpp. | 
| 
 | 
| Destructor. 
 Definition at line 140 of file qwt_text_engine.cpp. | 
| 
 | ||||||||||||||||||||
| Draw the text in a clipping rectangle. A wrapper for QPainter::drawText. 
 
 Implements QwtTextEngine. Definition at line 213 of file qwt_text_engine.cpp. References QwtPainter::drawText(). | 
| 
 | ||||||||||||||||||||
| Find the height for a given width 
 
 
 Implements QwtTextEngine. Definition at line 155 of file qwt_text_engine.cpp. | 
| 
 | 
| Test if a string can be rendered by this text engine. 
 Implements QwtTextEngine. Definition at line 223 of file qwt_text_engine.cpp. | 
| 
 | ||||||||||||||||||||||||||||
| Return margins around the texts 
 
 Implements QwtTextEngine. Definition at line 193 of file qwt_text_engine.cpp. | 
| 
 | ||||||||||||||||
| Returns the size, that is needed to render text 
 
 
 Implements QwtTextEngine. Definition at line 174 of file qwt_text_engine.cpp. | 
 1.4.6
 1.4.6