Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(429)

Issue 6812099: fix SkRegion::intersects(rect) where the part of the rgn that we intersect is (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by reed1
Modified:
11 years, 8 months ago
Reviewers:
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

fix SkRegion::intersects(rect) where the part of the rgn that we intersect is the last run. The old bug was that we did an early exit from the loop because we were comparing against the next rgn.bottom, instead of the current one. inspired and fixed by danakj http://code.google.com/p/skia/issues/detail?id=958 Committed: https://code.google.com/p/skia/source/detail?r=6327

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -8 lines) Patch
M src/core/SkRegion.cpp View 3 chunks +13 lines, -8 lines 0 comments Download
M tests/RegionTest.cpp View 1 chunk +7 lines, -0 lines 0 comments Download

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b