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.
20 class NullPainter : public Painter {
25 virtual ~NullPainter() {}
33 int paperWidth() const { return 0; }
35 int paperHeight() const;
38 void line(int, int, int, int, LColor_color,
39 line_style = line_solid, line_width = line_thin) {}
41 void lines(int const *, int const *, int, LColor_color,
42 line_style = line_solid, line_width = line_thin) {}
44 void rectangle(int, int, int, int, LColor_color,
45 line_style = line_solid, line_width = line_thin) {}
47 void fillRectangle(int, int, int, int, LColor_color) {}
49 void fillPolygon(int const *, int const *, int, LColor_color) {}
51 void arc(int, int, unsigned int, unsigned int,
52 int, int, LColor_color) {}
54 void point(int, int, LColor_color) {}
56 void button(int, int, int, int) {}
58 void image(int, int, int, int, lyx::graphics::Image const &) {}
60 void text(int, int, std::string const &, LyXFont const &) {}
62 void text(int, int, char const *, size_t, LyXFont const &) {}
64 void text(int, int, char, LyXFont const &) {}
66 void rectText(int, int, std::string const &,
67 LyXFont const &, LColor_color, LColor_color) {}
69 void buttonText(int, int, std::string const &, LyXFont const &) {}
71 void underline(LyXFont const &, int, int, int) {}
73 void buttonFrame(int, int, int, int) {}
76 #endif // NULLPAINTER_H