Age | Commit message (Collapse) | Author |
|
|
|
class; rename Group as "Layout" and retain only drawing semantics
|
|
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.
|
|
|
|
|
|
Catmull-Rom curve samples are not equally spaced on the x-axis.
Furthermore, Curve::map_value() is not needed, cairo line_to
already interpolates.
|
|
See http://en.wikipedia.org/wiki/Centripetal_Catmull-Rom to understand the benefits of this.
|
|
Presmooth with quadratic bezier, then interpolate when rendering. Not finished yet
|
|
|
|
|
|
now) method Curve::covers(Duple) because the math there needs to be different, maybe
|
|
Item::covers(Duple const&)
Default implementation for Item still uses bounding box, but specializations for Arc (Circle), Polygon, Line and PolyLine have been added
|
|
|
|
development, but it is just a distraction - we will NEVER be saving or restoring canvas state via XML or any kind of serialized state
|
|
rectangles missing their upper line segment; more cairo canvas fixes
|