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 int paperWidth() const { return 0; }
37 int paperHeight() const;
40 void line(int, int, int, int, LColor_color,
41 line_style = line_solid, line_width = line_thin) {}
43 void lines(int const *, int const *, int, LColor_color,
44 line_style = line_solid, line_width = line_thin) {}
46 void rectangle(int, int, int, int, LColor_color,
47 line_style = line_solid, line_width = line_thin) {}
49 void fillRectangle(int, int, int, int, LColor_color) {}
51 void fillPolygon(int const *, int const *, int, LColor_color) {}
53 void arc(int, int, unsigned int, unsigned int,
54 int, int, LColor_color) {}
56 void point(int, int, LColor_color) {}
58 void button(int, int, int, int) {}
60 void image(int, int, int, int, lyx::graphics::Image const &) {}
62 void text(int, int, std::string const &, LyXFont const &) {}
64 void text(int, int, char const *, size_t, LyXFont const &) {}
66 void text(int, int, char, LyXFont const &) {}
68 void rectText(int, int, std::string const &,
69 LyXFont const &, LColor_color, LColor_color) {}
71 void buttonText(int, int, std::string const &, LyXFont const &) {}
73 void underline(LyXFont const &, int, int, int) {}
75 void buttonFrame(int, int, int, int) {}
78 } // namespace frontend
81 #endif // NULLPAINTER_H