22 #ifndef FIFE_GUI_OPENGLE_GRAPHICS_H
23 #define FIFE_GUI_OPENGLE_GRAPHICS_H
28 #include <guichan/opengl/openglgraphics.hpp>
35 class RenderBackendOpenGLe;
44 virtual void drawImage(
const gcn::Image* image, int32_t srcX, int32_t srcY, int32_t dstX, int32_t dstY, int32_t width, int32_t height);
46 virtual void drawText(
const std::string& text, int32_t x, int32_t y, uint32_t alignment);
47 virtual void drawPoint(int32_t x, int32_t y);
48 virtual void drawLine(int32_t x1, int32_t y1, int32_t x2, int32_t y2);
49 virtual void drawRectangle(
const gcn::Rectangle& rectangle);
50 virtual void fillRectangle(
const gcn::Rectangle& rectangle);
52 virtual void _beginDraw();
53 virtual void _endDraw();
55 virtual bool pushClipArea(gcn::Rectangle area);
56 virtual void popClipArea();
58 virtual void setColor(
const gcn::Color& color);