Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Issue 18029021: add bitmap::eraseArea (Closed)

Created:
7 years, 5 months ago by reed1
Modified:
7 years, 5 months ago
Reviewers:
scroggo
CC:
skia-review_googlegroups.com, urvang (Google)
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : #

Total comments: 9

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -35 lines) Patch
M include/core/SkBitmap.h View 1 2 2 chunks +29 lines, -17 lines 0 comments Download
M src/core/SkBitmap.cpp View 1 6 chunks +56 lines, -13 lines 0 comments Download
M tests/BitmapGetColorTest.cpp View 1 2 2 chunks +77 lines, -5 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
reed1
7 years, 5 months ago (2013-06-28 18:14:57 UTC) #1
reed1
7 years, 5 months ago (2013-06-28 18:19:43 UTC) #2
scroggo
lgtm https://codereview.chromium.org/18029021/diff/2001/include/core/SkBitmap.h File include/core/SkBitmap.h (right): https://codereview.chromium.org/18029021/diff/2001/include/core/SkBitmap.h#newcode411 include/core/SkBitmap.h:411: void eraseArea(const SkIRect& area, SkColor c) const; Documentation? ...
7 years, 5 months ago (2013-06-28 19:02:35 UTC) #3
reed1
https://codereview.chromium.org/18029021/diff/2001/include/core/SkBitmap.h File include/core/SkBitmap.h (right): https://codereview.chromium.org/18029021/diff/2001/include/core/SkBitmap.h#newcode411 include/core/SkBitmap.h:411: void eraseArea(const SkIRect& area, SkColor c) const; On 2013/06/28 ...
7 years, 5 months ago (2013-06-28 19:31:54 UTC) #4
urvang (Google)
https://codereview.chromium.org/18029021/diff/2001/src/core/SkBitmap.cpp File src/core/SkBitmap.cpp (right): https://codereview.chromium.org/18029021/diff/2001/src/core/SkBitmap.cpp#newcode857 src/core/SkBitmap.cpp:857: if (area.intersect(rect)) { Shouldn't this be 'contains' instead? (Looking ...
7 years, 5 months ago (2013-06-28 19:33:07 UTC) #5
reed1
https://codereview.chromium.org/18029021/diff/2001/src/core/SkBitmap.cpp File src/core/SkBitmap.cpp (right): https://codereview.chromium.org/18029021/diff/2001/src/core/SkBitmap.cpp#newcode857 src/core/SkBitmap.cpp:857: if (area.intersect(rect)) { On 2013/06/28 19:33:08, urvang wrote: > ...
7 years, 5 months ago (2013-06-28 19:38:38 UTC) #6
reed1
On 2013/06/28 19:38:38, reed1 wrote: > https://codereview.chromium.org/18029021/diff/2001/src/core/SkBitmap.cpp > File src/core/SkBitmap.cpp (right): > > https://codereview.chromium.org/18029021/diff/2001/src/core/SkBitmap.cpp#newcode857 > ...
7 years, 5 months ago (2013-06-28 19:39:14 UTC) #7
urvang (Google)
Thanks for doing this! https://codereview.chromium.org/18029021/diff/2001/src/core/SkBitmap.cpp File src/core/SkBitmap.cpp (right): https://codereview.chromium.org/18029021/diff/2001/src/core/SkBitmap.cpp#newcode857 src/core/SkBitmap.cpp:857: if (area.intersect(rect)) { On 2013/06/28 ...
7 years, 5 months ago (2013-06-28 19:40:26 UTC) #8
reed1
7 years, 5 months ago (2013-06-28 19:40:53 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 manually as r9815 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698