summaryrefslogtreecommitdiff
path: root/libs/canvas/canvas/curve.h
AgeCommit message (Collapse)Author
2014-11-25Remove dead code.David Robillard
2014-06-21refactor Canvas so that all Items have children; add Container abstract base ↵Paul Davis
class; rename Group as "Layout" and retain only drawing semantics
2014-06-12change Canvas heirarchy and constructorsPaul Davis
Items no longer need a parent group (they require a Canvas pointer instead), so all constructors have been rationalized and have two variants, one with a parent and one with a canvas. All Items now inherit from Fill and Outline, to banish diagonal inheritance and virtual base classes and all that. There were zero changes to the Ardour GUI arising from these changes.
2014-05-29Canvas: new x-fade drawing, two curve widgetRobin Gareus
2014-05-27implement Curve in/outside fillRobin Gareus
2014-05-26fix x-fade drawingRobin Gareus
Catmull-Rom curve samples are not equally spaced on the x-axis. Furthermore, Curve::map_value() is not needed, cairo line_to already interpolates.
2014-03-05use a centripetal catmull-rom curve to smooth ArdourCanvas::CurvePaul Davis
See http://en.wikipedia.org/wiki/Centripetal_Catmull-Rom to understand the benefits of this.
2014-02-28change implementation of ArdourCanvas::Curve to use GIMP-inspired ideas.Paul Davis
Presmooth with quadratic bezier, then interpolate when rendering. Not finished yet
2014-02-27remove unneeded extra methods in ArdourCanvas::CurvePaul Davis
2013-12-27add visibility/export control to libcanvasPaul Davis
2013-12-09make PolyLine use distance_to_segment_squared(), and add separate (null, for ↵Paul Davis
now) method Curve::covers(Duple) because the math there needs to be different, maybe
2013-11-04drop use of bounding box to determine whether an item covers a point; add ↵Paul Davis
Item::covers(Duple const&) Default implementation for Item still uses bounding box, but specializations for Arc (Circle), Polygon, Line and PolyLine have been added
2013-04-15add headers to all canvas .cc and .h filesPaul Davis
2013-04-15remove all XML related API from canvas. it may have been useful during ↵Paul Davis
development, but it is just a distraction - we will NEVER be saving or restoring canvas state via XML or any kind of serialized state
2013-04-11add (bezier) curves to canvas, use for automation lines; fix issue with ↵Paul Davis
rectangles missing their upper line segment; more cairo canvas fixes