Added my "Copyright (c) 2007" notices, for files I edited in 2007.
[synfig.git] / synfig-core / trunk / src / synfig / rect.h
index b620575..9480cff 100644 (file)
@@ -168,6 +168,10 @@ public:
 
        bool operator&&(const Rect& rhs)const { return etl::intersect(*this, rhs); }
 
+       bool operator==(const Rect &rhs)const { return get_min() == rhs.get_min() && get_max() == rhs.get_max(); }
+
+       bool operator!=(const Rect &rhs)const { return get_min() != rhs.get_min() || get_max() != rhs.get_max(); }
+
        bool is_valid()const { return valid(); }
 }; // END of class Rect