add (bezier) curves to canvas, use for automation lines; fix issue with rectangles...
[ardour.git] / libs / canvas / canvas / poly_item.h
index de5e5cf1885d0a9ba23b336d71a1e11df0928288..51f907699df01ef1231bcb3aaff70280b262e02e 100644 (file)
@@ -16,13 +16,14 @@ public:
        void add_poly_item_state (XMLNode *) const;
        void set_poly_item_state (XMLNode const *);
        
-       void set (Points const &);
+       virtual void set (Points const &);
        Points const & get () const;
 
         void dump (std::ostream&) const;
 
 protected:
        void render_path (Rect const &, Cairo::RefPtr<Cairo::Context>) const;
+        void render_curve (Rect const &, Cairo::RefPtr<Cairo::Context>, Points const &, Points const &) const;
 
        Points _points;
 };