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

Issue 2409983004: Correct a small mistake in SkPath::build_arc_conics (Closed)

Created:
4 years, 2 months ago by xidachen
Modified:
4 years, 2 months ago
Reviewers:
caryclark, mtklein_C, reed1
CC:
f(malita), Justin Novosad, reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Correct a small mistake in SkPath::build_arc_conics In this function, when count is 0, it maps the dst point to start, where it should really be stop. A test case is also added. In the test case, it should be drawing three lines, without the change in SkPath class, it will draw 2 lines only with the top horizontal line missing because it maps the dst point to the start point, and hence the horizontal line is not drawn. BUG=640031 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2409983004 Committed: https://skia.googlesource.com/skia/+/95e34a3d847684692184daea4a887f7825d65e51

Patch Set 1 #

Patch Set 2 : undo changes to canvas->translate #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -11 lines) Patch
M gm/addarc.cpp View 1 1 chunk +26 lines, -10 lines 0 comments Download
M src/core/SkPath.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 24 (16 generated)
xidachen
PTAL
4 years, 2 months ago (2016-10-12 12:41:44 UTC) #3
caryclark
Please follow the gold link in the CL description to see that this causes a ...
4 years, 2 months ago (2016-10-17 13:32:42 UTC) #6
xidachen
On 2016/10/17 13:32:42, caryclark wrote: > Please follow the gold link in the CL description ...
4 years, 2 months ago (2016-10-17 14:14:02 UTC) #11
xidachen
gentle ping
4 years, 2 months ago (2016-10-19 12:37:45 UTC) #14
caryclark
lgtm
4 years, 2 months ago (2016-10-19 16:11:47 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2409983004/20001
4 years, 2 months ago (2016-10-19 17:23:36 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://skia.googlesource.com/skia/+/95e34a3d847684692184daea4a887f7825d65e51
4 years, 2 months ago (2016-10-19 17:24:31 UTC) #22
mtklein_C
4 years, 2 months ago (2016-10-19 21:46:22 UTC) #24
Message was sent while issue was closed.
It's probably a good time to triage
https://gold.skia.org/search?head=true&include=false&neg=false&pos=false&quer...

Powered by Google App Engine
This is Rietveld 408576698