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

Issue 2020293002: always compute a cubic normal (Closed)

Created:
4 years, 6 months ago by caryclark
Modified:
4 years, 6 months ago
Reviewers:
reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

always compute a cubic tangent If the inflection of a cubic is also the cusp, the tangent is degenerate at that t when computed directly. Rather than giving up, subdivide the curve there and use the computed control points to compute the tangent. This strategy also removes the error paths where the tangent formerly could not be computed. R=reed@google.com BUG=615686 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2020293002 Committed: https://skia.googlesource.com/skia/+/ba150cc283301a28693a18d4aa9d14b1a1616ab3

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -39 lines) Patch
A gm/bug615686.cpp View 1 chunk +20 lines, -0 lines 0 comments Download
M src/core/SkStroke.cpp View 9 chunks +26 lines, -39 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2020293002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2020293002/1
4 years, 6 months ago (2016-05-31 14:44:14 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-05-31 15:00:45 UTC) #5
caryclark
4 years, 6 months ago (2016-05-31 15:35:28 UTC) #6
reed1
lgtm
4 years, 6 months ago (2016-05-31 22:10:54 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2020293002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2020293002/1
4 years, 6 months ago (2016-06-01 11:41:07 UTC) #9
commit-bot: I haz the power
4 years, 6 months ago (2016-06-01 11:42:06 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/ba150cc283301a28693a18d4aa9d14b1a1616ab3

Powered by Google App Engine
This is Rietveld 408576698