private:
/// check the font, and if set, draw an underline
void underline(FontInfo const & f,
- int x, int y, int width);
+ int x, int y, int width, line_style ls = line_solid);
/// check the font, and if set, draw an dashed underline
void dashedUnderline(FontInfo const & f,
void setQPainterPen(QColor const & col,
line_style ls = line_solid, int lw = thin_line);
+ // Helper for text() method
+ void do_drawText(int x, int y, QString str, bool rtl, FontInfo const & f, QFont ff);
+
QColor current_color_;
Painter::line_style current_ls_;
int current_lw_;