summaryrefslogtreecommitdiff
path: root/libs/canvas/line.cc
AgeCommit message (Collapse)Author
2019-08-03Update canvas/UI lib GPL boilerplate and (C) from git logRobin Gareus
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
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-06-03initial redesign of canvas scrolling to facilitate independent x- and y-axis ↵Paul Davis
scrolling of specific groups within the canvas. This commit should cause no change in behaviour, but contains all the code and changes necessary for the next step
2014-03-11don't queue redraws when various canvas item properties are "reset" to the ↵Paul Davis
same value, plus supporting functions
2014-02-12slight code tidy for Line::render() ... don't use 0.5 pixel adjustment if ↵Paul Davis
the line width > 1.0
2013-12-09ArdourCanvas::Line::covers() uses distance_to_segment_squared()Paul Davis
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-24an awful lot of tweaks to drawing detailsPaul Davis
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-18expand bbox for Canvas::Line to get rid of artifacts caused when moving them ↵Paul Davis
around, as is done for Rectangle and others
2013-04-17various work waveview amplitude mgmt; fix playhead cursor drag from timebar ↵Paul Davis
click
2013-04-17fix clamping of line and rect coordinates to avoid issues with cairo when ↵Paul Davis
drawing way outside a surface's dimensions; move various coordinate methods down to Canvas, because they don't require GTK information; make visible_area() a Canvas virtual method so that we don't have to cast to call it
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