summaryrefslogtreecommitdiffstats
path: root/rectangle.h
blob: 5e9445d709b0eaf1f5aba06a840071ad7da886e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef RECTANGLE_H
#define RECTANGLE_H

#include "line.h"

class Rectangle : public Line
{
public:
    Rectangle();

    // Line interface
public:
    virtual bool isHit(const QPoint &clickPoint);
    virtual void draw(QPainter *painter);
};

#endif // RECTANGLE_H