basically operational switch to canvas drawing coordinates, although text and waves don't work, and redraw areas are too small

This commit is contained in:
Paul Davis 2013-06-18 08:23:06 -04:00
parent a0c5de281a
commit 77f5f4c4bf
14 changed files with 160 additions and 149 deletions

View file

@ -79,14 +79,6 @@ public:
virtual Cairo::RefPtr<Cairo::Context> context () = 0;
std::list<Rect> const & renders () const {
return _renders;
}
void set_log_renders (bool log) {
_log_renders = log;
}
Rect canvas_to_window (Rect const&) const;
Rect window_to_canvas (Rect const&) const;
Duple canvas_to_window (Duple const&) const;
@ -117,9 +109,6 @@ protected:
/** our root group */
RootGroup _root;
mutable std::list<Rect> _renders;
bool _log_renders;
Coord _scroll_offset_x;
Coord _scroll_offset_y;