canvas: remove Box::render() (it should just use Rectangle::render())
This commit is contained in:
parent
85edd83338
commit
dc6a162ca1
@ -59,16 +59,7 @@ Box::Box (Item* parent, Duple const & p, Orientation o)
|
||||
, ignore_child_changes (false)
|
||||
{
|
||||
set_position (p);
|
||||
}
|
||||
|
||||
void
|
||||
Box::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) const
|
||||
{
|
||||
if (_fill || _outline) {
|
||||
Rectangle::render (area, context);
|
||||
}
|
||||
|
||||
Item::render_children (area, context);
|
||||
set_outline_width (3);
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -67,7 +67,6 @@ public:
|
||||
void set_homogenous (bool);
|
||||
|
||||
void compute_bounding_box () const;
|
||||
void render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) const;
|
||||
|
||||
protected:
|
||||
Orientation orientation;
|
||||
|
Loading…
Reference in New Issue
Block a user