summaryrefslogtreecommitdiff
path: root/libs/canvas/image.cc
AgeCommit message (Collapse)Author
2017-01-19remove use of boost::optional to define "undefined" Canvas::Rect, and use ↵Paul Davis
Rect::empty instead. This commit includes Rect::operator bool() which might be a candidate for removal in a future commit, in an attempt to make the meaning clearer
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.
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.
2013-06-22likely fix for Canvas::Image positioning under new coordinate/render rulesPaul 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-20Revert "cairo image crash debugging" and "initialize image data"Robin Gareus
This reverts commit dfdb91b429e4f40e1883669bec58b9674ab8d2c2 and commit 188d766757d6029577e3409ee13efe9aa6f60173. despite earlier assumptions the code is correct and there is likely a memory corruption elsewhere.
2013-04-20initialize image data.Robin Gareus
2013-04-17ArdourCanvas::Image allow to set custom data instead of class pre-allocated ↵Robin Gareus
memory.
2013-04-16(hopefully) fix double-buffering design of ArdourCanvas::ImagePaul Davis
2013-04-15add some comments to Canvas::Image and ensure that the canvas redraws after ↵Paul Davis
a put_image() call is handled in the GUI thread
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-15add new canvas Image item, with somewhat optimized API for asynchronous, ↵Paul Davis
threaded rendering directly into an image buffer suitable for use by cairo as a source surface (currently untested)