diff options
Diffstat (limited to 'ellipse.h')
| -rw-r--r-- | ellipse.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ellipse.h b/ellipse.h new file mode 100644 index 0000000..5f3fced --- /dev/null +++ b/ellipse.h @@ -0,0 +1,18 @@ +#ifndef ELLIPSE_H +#define ELLIPSE_H + +#include "rectangle.h" + + +class Ellipse : public Rectangle +{ +public: + Ellipse(); + + // Line interface +public: + virtual bool isHit(const QPoint &clickPoint); + virtual void draw(QPainter *painter); +}; + +#endif // ELLIPSE_H |
