remove unneeded extra methods in ArdourCanvas::Curve

This commit is contained in:
Paul Davis 2014-02-27 09:22:36 -05:00
parent 2e7248eba8
commit 007e6bb15b
2 changed files with 1 additions and 11 deletions

View File

@ -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;

View File

@ -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,