simplify Canvas::Rectangle rendering to avoid unnecessary nonsense, and remove TimeRectangle

This commit is contained in:
Paul Davis 2015-02-11 21:56:29 -05:00
parent 2a5921ecf1
commit a992a2e6e0
2 changed files with 19 additions and 58 deletions

View file

@ -88,18 +88,6 @@ public:
What _outline_what;
};
class TimeRectangle : public Rectangle
{
public:
TimeRectangle (Canvas* c) : Rectangle (c) {}
TimeRectangle (Canvas* c, Rect const & r) : Rectangle (c, r) {}
TimeRectangle (Item* i) : Rectangle (i) {}
TimeRectangle (Item* i, Rect const & r) : Rectangle (i, r) {}
void render (Rect const &, Cairo::RefPtr<Cairo::Context>) const;
void compute_bounding_box () const;
};
}
#endif