mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
ArdourCanvas::Arc (i.e. Circle) should allow for child items to be drawn
This commit is contained in:
parent
9be853d555
commit
267229c03c
1 changed files with 3 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ Arc::compute_bounding_box () const
|
|||
}
|
||||
|
||||
void
|
||||
Arc::render (Rect const & /*area*/, Cairo::RefPtr<Cairo::Context> context) const
|
||||
Arc::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) const
|
||||
{
|
||||
if (_radius <= 0.0 || _arc_degrees <= 0.0 || (!fill() && !outline())) {
|
||||
return;
|
||||
|
|
@ -91,6 +91,8 @@ Arc::render (Rect const & /*area*/, Cairo::RefPtr<Cairo::Context> context) const
|
|||
setup_outline_context (context);
|
||||
context->stroke ();
|
||||
}
|
||||
|
||||
render_children (area, context);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue