remove unneeded extra methods in ArdourCanvas::Curve
This commit is contained in:
parent
2e7248eba8
commit
007e6bb15b
@ -36,10 +36,6 @@ public:
|
||||
|
||||
bool covers (Duple const &) const;
|
||||
|
||||
protected:
|
||||
void render_path (Rect const &, Cairo::RefPtr<Cairo::Context>) const;
|
||||
void render_curve (Rect const &, Cairo::RefPtr<Cairo::Context>) const;
|
||||
|
||||
private:
|
||||
Points first_control_points;
|
||||
Points second_control_points;
|
||||
|
@ -95,17 +95,11 @@ Curve::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) const
|
||||
{
|
||||
if (_outline) {
|
||||
setup_outline_context (context);
|
||||
render_path (area, context);
|
||||
PolyItem::render_curve (area, context, first_control_points, second_control_points);
|
||||
context->stroke ();
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
Curve::render_path (Rect const & area, Cairo::RefPtr<Cairo::Context> context) const
|
||||
{
|
||||
PolyItem::render_curve (area, context, first_control_points, second_control_points);
|
||||
}
|
||||
|
||||
void
|
||||
Curve::compute_control_points (Points const& knots,
|
||||
Points& firstControlPoints,
|
||||
|
Loading…
Reference in New Issue
Block a user