NOOP, remove trailing tabs/whitespace.
[ardour.git] / libs / canvas / canvas / poly_line.h
index 911dd140fc13ebba65cc9d6e6f154d998053cc56..fce013dfd6e11b032fd71203d138fe63d30597d2 100644 (file)
 #ifndef __CANVAS_POLY_LINE_H__
 #define __CANVAS_POLY_LINE_H__
 
+#include "canvas/visibility.h"
 #include "canvas/poly_item.h"
 #include "canvas/outline.h"
 
 namespace ArdourCanvas {
 
-class PolyLine : public PolyItem
+class LIBCANVAS_API PolyLine : public PolyItem
 {
-public:
-       PolyLine (Group *);
+  public:
+       PolyLine (Canvas*);
+       PolyLine (Item*);
 
        void render (Rect const & area, Cairo::RefPtr<Cairo::Context>) const;
+
+       virtual void set_steps (Points const &, bool stepped);
+
+        bool covers (Duple const &) const;
+       /**
+        * Set the distance at which a point will be considered to be covered
+        * by the line. For the definition of "distance" see
+        * utils.cc:distance_to_segment_squared()
+        */
+       void set_covers_threshold (double);
+
+  private:
+       double _threshold;
 };
-       
+
 }
 
 #endif