#include "LColor.h"
+#include "support/types.h"
+
#include <string>
namespace graphics {
class Image;
}
-}
+namespace frontend {
/**
* Painter - A painter class to encapsulate all graphics parameters and operations
int w, int h,
LColor_color) = 0;
- /// draw a filled (irregular) polygon
+ /// draw a filled (irregular) polygon (UNUSED, could be removed)
virtual void fillPolygon(
int const * xp,
int const * yp,
/// draw a char at position x, y (y is the baseline)
virtual void text(int x, int y,
- char c, LyXFont const & f) = 0;
+ lyx::char_type c, LyXFont const & f) = 0;
/**
* Draw a string and enclose it inside a rectangle. If
virtual void buttonFrame(int x, int y, int w, int h);
};
+} // namespace frontend
+} // namespace lyx
+
#endif // PAINTER_H