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