#include <algorithm>
#include <cfloat>
#include <cassert>
+
+#include <cairomm/context.h>
+
#include "canvas/types.h"
using namespace std;
return r;
}
+bool
+ArdourCanvas::operator!= (Rect const& a, Rect const& b)
+{
+ return a.x0 != b.x0 ||
+ a.x1 != b.x1 ||
+ a.y0 != b.y0 ||
+ a.y1 != b.y1;
+}
+
+
Duple
ArdourCanvas::operator- (Duple const & o)
{
return a.x == b.x && a.y == b.y;
}
+bool
+ArdourCanvas::operator!= (Duple const & a, Duple const & b)
+{
+ return a.x != b.x || a.y != b.y;
+}
+
Duple
ArdourCanvas::operator- (Duple const & a, Duple const & b)
{