X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Frect.h;h=9480cffb9d9e2da7006e3a5ae5e0940591e51aa5;hb=ee0fd97e97433501befb38b88478ab4eb7487ff5;hp=b6894c900421f517604bc9e0dd3b19c7fe953f63;hpb=46f78dba18f9c38fa63ee6c3dca39e73ce5f52ee;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/rect.h b/synfig-core/trunk/src/synfig/rect.h index b6894c9..9480cff 100644 --- a/synfig-core/trunk/src/synfig/rect.h +++ b/synfig-core/trunk/src/synfig/rect.h @@ -170,6 +170,8 @@ public: 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