From b2c09e5625f2811b22d6448be9f228d4f530960f Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 24 Mar 2013 19:03:05 +0100 Subject: Antialiased linedrawing endpoint fixes. New drawImageStretched method. Slightly modified box render model. --- plugingui/painter.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugingui/painter.h') diff --git a/plugingui/painter.h b/plugingui/painter.h index 4341fc3..02b8aba 100644 --- a/plugingui/painter.h +++ b/plugingui/painter.h @@ -69,6 +69,8 @@ public: void drawFilledCircle(int x, int y, int r); void drawImage(int x, int y, struct __img__ * img); void drawImage(int x, int y, Image *image); + void drawImageStretched(int x0, int y0, GUI::Image *image, + size_t width, size_t height); typedef struct { Image *topLeft; @@ -79,6 +81,7 @@ public: Image *bottomLeft; Image *bottom; Image *bottomRight; + Image *center; } Box; void drawBox(int x, int y, Box *box, int width, int height); -- cgit v1.2.3