summaryrefslogtreecommitdiff
path: root/libs/canvas/types.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-01-08 10:31:39 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-01-08 10:31:39 -0500
commit35d3a4a351ad96ebf14407dbfb495259ddb2da2c (patch)
tree792d4bae15f9f02a7afc2dede6ad1e43af24194c /libs/canvas/types.cc
parenta70edc576552cbcd51e149ac6d231618c4fa4ec7 (diff)
remove unused code
Diffstat (limited to 'libs/canvas/types.cc')
-rw-r--r--libs/canvas/types.cc33
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)
{