X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fvideo%2Fdrawing_context.hpp;h=46f6d27bb0934087597bd6c17ddc3a47fc2e3fcd;hb=38105c22495d9439b30221732dd5d7b89f328a0c;hp=73713f7943d810e15be088310fb9d45f82750e01;hpb=9e7e803e384ed7bf0f5ccf9a4c381dd13b6a01d1;p=supertux.git diff --git a/src/video/drawing_context.hpp b/src/video/drawing_context.hpp index 73713f794..46f6d27bb 100644 --- a/src/video/drawing_context.hpp +++ b/src/video/drawing_context.hpp @@ -69,7 +69,7 @@ public: /// Draws text on screen center (feed Vector.x with a 0). /// This is the same as draw_text() with a SCREEN_WIDTH/2 position and - /// alignment set to LEFT_ALLIGN + /// alignment set to LEFT_ALIGN void draw_center_text(const Font* font, const std::string& text, const Vector& position, int layer); /// Draws a color gradient onto the whole screen */ @@ -80,6 +80,8 @@ public: void draw_filled_rect(const Rect& rect, const Color& color, int layer); void draw_filled_rect(const Rect& rect, const Color& color, float radius, int layer); + void draw_inverse_ellipse(const Vector& pos, const Vector& size, const Color& color, int layer); + /// Processes all pending drawing requests and flushes the list. void do_drawing();