X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiPainter.h;h=eadf9851669141a6c7a677f13c76afc71c661cad;hb=1e075bdf55c9d54a01e73c4d02268cfab0cffd4f;hp=b1f4fb8ecdb8ab9425f4a5fadf17617576d9a808;hpb=26eb5092fb69464d181caaf212d6a4d9c9cff2f0;p=lyx.git diff --git a/src/frontends/qt4/GuiPainter.h b/src/frontends/qt4/GuiPainter.h index b1f4fb8ecd..eadf985166 100644 --- a/src/frontends/qt4/GuiPainter.h +++ b/src/frontends/qt4/GuiPainter.h @@ -168,6 +168,9 @@ private: 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_;