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;
{
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,