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

Issue 151353006: Adding new 'extend' mode to SkPath::addPath (Closed)

Created:
6 years, 10 months ago by Justin Novosad
Modified:
6 years, 10 months ago
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Adding new 'extend' mode to SkPath::addPath BUG=261727 Committed: http://code.google.com/p/skia/source/detail?r=13415

Patch Set 1 #

Patch Set 2 : Response to comments by reed #

Total comments: 2

Patch Set 3 : further improvements #

Total comments: 4

Patch Set 4 : handle cloased paths #

Total comments: 1

Patch Set 5 : comment update #

Patch Set 6 : Added test and fix for empty path case #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -9 lines) Patch
M include/core/SkPath.h View 1 2 3 4 1 chunk +20 lines, -4 lines 0 comments Download
M src/core/SkPath.cpp View 1 2 3 4 5 3 chunks +11 lines, -5 lines 0 comments Download
M tests/PathTest.cpp View 1 2 3 4 5 2 chunks +69 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
Justin Novosad
PTAL
6 years, 10 months ago (2014-02-07 16:13:20 UTC) #1
reed1
1. Seems like we could use more explicit dox on addPath() 2. Is the difference ...
6 years, 10 months ago (2014-02-07 16:22:19 UTC) #2
Justin Novosad
On 2014/02/07 16:22:19, reed1 wrote: > 1. Seems like we could use more explicit dox ...
6 years, 10 months ago (2014-02-07 16:30:04 UTC) #3
Justin Novosad
On 2014/02/07 16:30:04, junov wrote: > On 2014/02/07 16:22:19, reed1 wrote: > > 1. Seems ...
6 years, 10 months ago (2014-02-07 16:49:36 UTC) #4
reed1
On 2014/02/07 16:30:04, junov wrote: > On 2014/02/07 16:22:19, reed1 wrote: > > 1. Seems ...
6 years, 10 months ago (2014-02-07 16:55:48 UTC) #5
reed1
https://codereview.chromium.org/151353006/diff/50001/include/core/SkPath.h File include/core/SkPath.h (right): https://codereview.chromium.org/151353006/diff/50001/include/core/SkPath.h#newcode707 include/core/SkPath.h:707: kAppend_AddPathMode, /** * source path contours are added as ...
6 years, 10 months ago (2014-02-07 17:13:06 UTC) #6
Justin Novosad
On 2014/02/07 17:13:06, reed1 wrote: > https://codereview.chromium.org/151353006/diff/50001/include/core/SkPath.h#newcode707 > include/core/SkPath.h:707: kAppend_AddPathMode, > /** > * source ...
6 years, 10 months ago (2014-02-07 17:54:31 UTC) #7
Justin Novosad
new patch
6 years, 10 months ago (2014-02-07 17:59:39 UTC) #8
reed1
lgtm w/ name-change https://codereview.chromium.org/151353006/diff/130001/include/core/SkPath.h File include/core/SkPath.h (right): https://codereview.chromium.org/151353006/diff/130001/include/core/SkPath.h#newcode712 include/core/SkPath.h:712: kJoin_AddPathMode How about kExtend_, esp. since ...
6 years, 10 months ago (2014-02-07 18:05:50 UTC) #9
reed1
undo-lgtm for now What is the behavior if the dst-path's last contour is open or ...
6 years, 10 months ago (2014-02-07 18:08:01 UTC) #10
Justin Novosad
On 2014/02/07 18:08:01, reed1 wrote: > What is the behavior if the dst-path's last contour ...
6 years, 10 months ago (2014-02-07 18:34:32 UTC) #11
reed1
On 2014/02/07 18:34:32, junov wrote: > On 2014/02/07 18:08:01, reed1 wrote: > > > What ...
6 years, 10 months ago (2014-02-07 18:36:46 UTC) #12
robertphillips
Just FYI there is this pre-existing issue (https://code.google.com/p/skia/issues/detail?id=1267)
6 years, 10 months ago (2014-02-07 19:03:45 UTC) #13
reed1
On 2014/02/07 19:03:45, robertphillips wrote: > Just FYI there is this pre-existing issue > (https://code.google.com/p/skia/issues/detail?id=1267) ...
6 years, 10 months ago (2014-02-07 20:13:10 UTC) #14
Justin Novosad
On 2014/02/07 20:13:10, reed1 wrote: > On 2014/02/07 19:03:45, robertphillips wrote: > > Just FYI ...
6 years, 10 months ago (2014-02-07 20:18:19 UTC) #15
Justin Novosad
On 2014/02/07 20:18:19, junov wrote: > On 2014/02/07 20:13:10, reed1 wrote: > > On 2014/02/07 ...
6 years, 10 months ago (2014-02-07 20:19:13 UTC) #16
Justin Novosad
Ping.
6 years, 10 months ago (2014-02-10 16:09:11 UTC) #17
reed1
https://codereview.chromium.org/151353006/diff/250001/include/core/SkPath.h File include/core/SkPath.h (right): https://codereview.chromium.org/151353006/diff/250001/include/core/SkPath.h#newcode711 include/core/SkPath.h:711: the destination path is closed, it will be pseudo-extended ...
6 years, 10 months ago (2014-02-10 21:03:14 UTC) #18
Justin Novosad
On 2014/02/10 21:03:14, reed1 wrote: > https://codereview.chromium.org/151353006/diff/250001/include/core/SkPath.h > File include/core/SkPath.h (right): > > https://codereview.chromium.org/151353006/diff/250001/include/core/SkPath.h#newcode711 > ...
6 years, 10 months ago (2014-02-11 16:48:32 UTC) #19
Justin Novosad
Ok, I updated the comment to make it clearer but without making it too lengthy ...
6 years, 10 months ago (2014-02-11 18:16:11 UTC) #20
reed1
Just to be sure, are you agreeing with my last 1,2,3 itemization? If so, I ...
6 years, 10 months ago (2014-02-11 18:35:42 UTC) #21
Justin Novosad
On 2014/02/11 18:35:42, reed1 wrote: > Just to be sure, are you agreeing with my ...
6 years, 10 months ago (2014-02-11 18:49:18 UTC) #22
caryclark
Is there a reference canvas test that shows whether other browsers also implement the proper ...
6 years, 10 months ago (2014-02-11 19:05:59 UTC) #23
Justin Novosad
On 2014/02/11 19:05:59, caryclark wrote: > Is there a reference canvas test that shows whether ...
6 years, 10 months ago (2014-02-11 19:54:52 UTC) #24
Justin Novosad
On 2014/02/11 19:54:52, junov wrote: > On 2014/02/11 19:05:59, caryclark wrote: > > Is there ...
6 years, 10 months ago (2014-02-11 19:56:20 UTC) #25
Justin Novosad
The CQ bit was checked by junov@chromium.org
6 years, 10 months ago (2014-02-11 20:57:05 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/junov@chromium.org/151353006/390001
6 years, 10 months ago (2014-02-11 20:57:14 UTC) #27
commit-bot: I haz the power
6 years, 10 months ago (2014-02-11 21:16:32 UTC) #28
Message was sent while issue was closed.
Change committed as 13415

Powered by Google App Engine
This is Rietveld 408576698