1 #ifndef __CANVAS_POLY_ITEM_H__
2 #define __CANVAS_POLY_ITEM_H__
4 #include "canvas/item.h"
5 #include "canvas/outline.h"
7 namespace ArdourCanvas {
9 class PolyItem : virtual public Item, public Outline
14 void compute_bounding_box () const;
16 virtual void set (Points const &);
17 Points const & get () const;
19 void dump (std::ostream&) const;
22 void render_path (Rect const &, Cairo::RefPtr<Cairo::Context>) const;
23 void render_curve (Rect const &, Cairo::RefPtr<Cairo::Context>, Points const &, Points const &) const;