diff options
Diffstat (limited to 'include/ui/Region.h')
-rw-r--r-- | include/ui/Region.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/ui/Region.h b/include/ui/Region.h index 43a4450..ce91f3b 100644 --- a/include/ui/Region.h +++ b/include/ui/Region.h @@ -39,7 +39,9 @@ public: Region(const Region& rhs); explicit Region(const Rect& rhs); ~Region(); - + + static Region createTJunctionFreeRegion(const Region& r); + Region& operator = (const Region& rhs); inline bool isEmpty() const { return getBounds().isEmpty(); } @@ -106,6 +108,10 @@ public: inline Region& operator += (const Point& pt); + // returns true if the regions share the same underlying storage + bool isTriviallyEqual(const Region& region) const; + + /* various ways to access the rectangle list */ |