summaryrefslogtreecommitdiff
path: root/libs/canvas/polygon.cc
AgeCommit message (Collapse)Author
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-01-08Close polygon borders (fix partially drawn hits).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-06-03use window-based coordinates when picking current item so that we get ↵Paul Davis
per-item (per-scroll-group,really) computation of position and coverage.
2014-03-06tweak Polygon::render() to work whether or not fill or outline are unsetPaul Davis
2013-12-12change event propagation to be based on parent/child lineage, not z-axis ↵Paul Davis
stacking, plus some more alterations to try to get enter/leave working
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-06-18basically operational switch to canvas drawing coordinates, although text ↵Paul Davis
and waves don't work, and redraw areas are too small
2013-04-15add headers to all canvas .cc and .h filesPaul Davis
2013-04-15remove all xml++.h inclusion by canvas implementationsPaul 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-04initial commit of hand merging, plus getting "ancient" waf script to work ↵Paul Davis
correctly