4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Alfredo Braunstein
9 * Full author contact details are available in file CREDITS.
22 class NullPainter : public Painter {
27 virtual ~NullPainter() {}
35 void line(int, int, int, int, LColor_color,
36 line_style = line_solid, line_width = line_thin) {}
38 void lines(int const *, int const *, int, LColor_color,
39 line_style = line_solid, line_width = line_thin) {}
41 void rectangle(int, int, int, int, LColor_color,
42 line_style = line_solid, line_width = line_thin) {}
44 void fillRectangle(int, int, int, int, LColor_color) {}
46 void arc(int, int, unsigned int, unsigned int,
47 int, int, LColor_color) {}
49 void point(int, int, LColor_color) {}
51 void button(int, int, int, int) {}
53 void image(int, int, int, int, graphics::Image const &) {}
55 int text(int, int, docstring const &, LyXFont const &) { return 0; }
57 // int text(int, int, char const *, size_t, LyXFont const &) { return 0; }
59 int text(int, int, char_type const *, size_t, LyXFont const &) { return 0; }
61 int text(int, int, char_type, LyXFont const &) { return 0; }
63 void rectText(int, int, docstring const &,
64 LyXFont const &, LColor_color, LColor_color) {}
66 void buttonText(int, int, docstring const &, LyXFont const &) {}
68 void underline(LyXFont const &, int, int, int) {}
70 void buttonFrame(int, int, int, int) {}
73 } // namespace frontend
76 #endif // NULLPAINTER_H