diff options
Diffstat (limited to 'plugingui/painter.h')
-rw-r--r-- | plugingui/painter.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugingui/painter.h b/plugingui/painter.h index c9fd60d..b45cf3a 100644 --- a/plugingui/painter.h +++ b/plugingui/painter.h @@ -64,11 +64,17 @@ public: void drawRectangle(int x1, int y1, int x2, int y2); void drawFilledRectangle(int x1, int y1, int x2, int y2); void drawPoint(int x, int y); - void drawCircle(int x, int y, int r); + void drawCircle(int x, int y, double r); void drawFilledCircle(int x, int y, int r); void drawImage(int x, int y, struct __img__ * img); private: + void plot(int x, int y, double c); + double ipart(double x); + double round(double x); + double fpart(double x); + double rfpart(double x); + Widget *widget; PixelBufferAlpha *pixbuf; Colour colour; |