X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FPainter.h;h=7906aa986be865e8e60a0051a2df403b4e8b4ecf;hb=af42a9d683728a0af34a56f7fd56ec8be4155227;hp=221da4ada72bb5e30375d54dd640fdefece8772e;hpb=9135dcee0743538db730cd05b3daff029d50119f;p=lyx.git diff --git a/src/frontends/Painter.h b/src/frontends/Painter.h index 221da4ada7..7906aa986b 100644 --- a/src/frontends/Painter.h +++ b/src/frontends/Painter.h @@ -64,6 +64,13 @@ public: line_onoffdash //< dashes with spaces }; + /// possible fill styles + enum fill_style { + fill_none, + fill_oddeven, + fill_winding + }; + /// possible character styles of preedit string. /// This is used for CJK input method support. enum preedit_style { @@ -85,7 +92,8 @@ public: * @param np size of the points array */ virtual void lines(int const * xp, int const * yp, int np, Color, - line_style = line_solid, float line_width = thin_line) = 0; + fill_style = fill_none, line_style = line_solid, + float line_width = thin_line) = 0; /// draw a rectangle virtual void rectangle(int x, int y, int w, int h, Color,