diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-03-24 19:03:05 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-03-24 19:03:05 +0100 |
commit | b2c09e5625f2811b22d6448be9f228d4f530960f (patch) | |
tree | 4f994c95cfcfb875ac81535197107fa9372913b0 /plugingui/painter.h | |
parent | 72544c3aa7005e6f0e60a505923b6afae4eba84d (diff) |
Antialiased linedrawing endpoint fixes. New drawImageStretched method. Slightly modified box render model.
Diffstat (limited to 'plugingui/painter.h')
-rw-r--r-- | plugingui/painter.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |