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

Issue 14200044: RoundRect contains (Closed)

Created:
7 years, 8 months ago by robertphillips
Modified:
7 years, 8 months ago
Reviewers:
jvanverth1, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

This only adds and exercises the SkRRect::contains(const SkRect&) method.

Patch Set 1 #

Patch Set 2 : Fixed tests #

Patch Set 3 : Fixed test #

Total comments: 6

Patch Set 4 : Jim fixed everything #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -3 lines) Patch
M include/core/SkRRect.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M src/core/SkRRect.cpp View 1 2 3 2 chunks +32 lines, -3 lines 0 comments Download
M tests/RoundRectTest.cpp View 1 2 3 2 chunks +135 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
robertphillips
7 years, 8 months ago (2013-04-24 14:37:29 UTC) #1
reed1
Hmmm 1. rect contains does not treat RB differently from TL (all are inclusive) 2. ...
7 years, 8 months ago (2013-04-24 15:22:44 UTC) #2
jvanverth1
https://codereview.chromium.org/14200044/diff/4001/src/core/SkRRect.cpp File src/core/SkRRect.cpp (right): https://codereview.chromium.org/14200044/diff/4001/src/core/SkRRect.cpp#newcode200 src/core/SkRRect.cpp:200: // a^2 b^2 This can be rewritten as b^2*x^2 ...
7 years, 8 months ago (2013-04-24 15:29:30 UTC) #3
robertphillips
PTAL https://codereview.chromium.org/14200044/diff/4001/src/core/SkRRect.cpp File src/core/SkRRect.cpp (right): https://codereview.chromium.org/14200044/diff/4001/src/core/SkRRect.cpp#newcode200 src/core/SkRRect.cpp:200: // a^2 b^2 On 2013/04/24 15:29:30, JimVV wrote: ...
7 years, 8 months ago (2013-04-24 16:11:57 UTC) #4
jvanverth1
LGTM. Especially the "Jim fixed everything" part. On 2013/04/24 16:11:57, robertphillips wrote: > PTAL > ...
7 years, 8 months ago (2013-04-24 16:17:05 UTC) #5
reed1
lgtm
7 years, 8 months ago (2013-04-24 19:48:32 UTC) #6
robertphillips
7 years, 8 months ago (2013-04-25 12:23:17 UTC) #7
Message was sent while issue was closed.
committed as r8854

Powered by Google App Engine
This is Rietveld 408576698