diff options
author | mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-01-01 20:32:45 +0000 |
---|---|---|
committer | mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-01-01 20:32:45 +0000 |
commit | ae8f9528fd0052e06653272abb44a1f49a3b726b (patch) | |
tree | 6ec6ff2239699ce32d69046ae5330fc8e5f2fa71 /include | |
parent | 725a64cf89605680ebb0f56cd6727f29d8b9899b (diff) |
speedup SkRect::intersect
git-svn-id: http://skia.googlecode.com/svn/trunk@12851 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkRect.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/core/SkRect.h b/include/core/SkRect.h index 0a5439cdfc..397e4a03ee 100644 --- a/include/core/SkRect.h +++ b/include/core/SkRect.h @@ -625,6 +625,7 @@ struct SK_API SkRect { If either rectangle is empty, do nothing and return false. */ bool intersect(const SkRect& r); + bool intersect2(const SkRect& r); /** If this rectangle intersects the rectangle specified by left, top, right, bottom, return true and set this rectangle to that intersection, otherwise return false |