diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-01-08 10:31:39 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-01-08 10:31:39 -0500 |
commit | 35d3a4a351ad96ebf14407dbfb495259ddb2da2c (patch) | |
tree | 792d4bae15f9f02a7afc2dede6ad1e43af24194c /libs/canvas/types.cc | |
parent | a70edc576552cbcd51e149ac6d231618c4fa4ec7 (diff) |
remove unused code
Diffstat (limited to 'libs/canvas/types.cc')
-rw-r--r-- | libs/canvas/types.cc | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/libs/canvas/types.cc b/libs/canvas/types.cc index a8c690bbbe..7d7a495df5 100644 --- a/libs/canvas/types.cc +++ b/libs/canvas/types.cc @@ -121,39 +121,6 @@ Rect::fix () const return r; } -Rect -Rect::convert_to_device (Cairo::RefPtr<Cairo::Context> c) const -{ - Coord xa, ya, xb, yb; - - xa = x0; - xb = x1; - ya = y0; - yb = y1; - - c->user_to_device (xa, ya); - c->user_to_device (xb, yb); - - return Rect (xa, ya, xb, yb); -} - - -Rect -Rect::convert_to_user (Cairo::RefPtr<Cairo::Context> c) const -{ - Coord xa, ya, xb, yb; - - xa = x0; - xb = x1; - ya = y0; - yb = y1; - - c->device_to_user (xa, ya); - c->device_to_user (xb, yb); - - return Rect (xa, ya, xb, yb); -} - Duple ArdourCanvas::operator- (Duple const & o) { |