diff options
author | Erkin Bahceci <erkinbah@gmail.com> | 2009-12-18 07:24:06 -0600 |
---|---|---|
committer | Erkin Bahceci <erkinbah@gmail.com> | 2009-12-18 07:24:06 -0600 |
commit | f8430b73b116ef2242151a84f3379ba60d2fbf64 (patch) | |
tree | 8c799f15cc3a2a230e5dcafd8e46dc55f51cce60 /include | |
parent | 5ce57a6682f936308e8c8769bac0c4c636c0b8ab (diff) | |
download | zcomp-f8430b73b116ef2242151a84f3379ba60d2fbf64.tar.gz zcomp-f8430b73b116ef2242151a84f3379ba60d2fbf64.tar.bz2 |
Add another contains method to CompRegion.
Diffstat (limited to 'include')
-rw-r--r-- | include/core/region.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/core/region.h b/include/core/region.h index 30654d8..e71949b 100644 --- a/include/core/region.h +++ b/include/core/region.h @@ -57,6 +57,7 @@ class CompRegion { bool contains (const CompPoint &) const; bool contains (const CompRect &) const; + bool contains (int x, int y, int width, int height) const; CompRegion intersected (const CompRegion &) const; CompRegion intersected (const CompRect &) const; |