mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 02:56:35 +01:00
make PolyLine use distance_to_segment_squared(), and add separate (null, for now) method Curve::covers(Duple) because the math there needs to be different, maybe
This commit is contained in:
parent
77a63c2bf7
commit
c4f0063a68
5 changed files with 50 additions and 17 deletions
|
|
@ -32,6 +32,8 @@ public:
|
|||
void render (Rect const & area, Cairo::RefPtr<Cairo::Context>) const;
|
||||
void set (Points const &);
|
||||
|
||||
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue