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

Issue 971773002: treat backwards quads as not convex (Closed)

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

Description

treat backwards quads as not convex If a quad, cubic, or conic goes back on itself, assume it's not convex. In a future CL, we could check to see if the curve is linear so that linear curves are treated the same as lines. BUG=skia:3469 Committed: https://skia.googlesource.com/skia/+/5ccef577902ce1aefa05fb8107ad5d0aba848e7d

Patch Set 1 #

Total comments: 4

Patch Set 2 : add fall through comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -5 lines) Patch
M src/core/SkPath.cpp View 1 5 chunks +25 lines, -5 lines 0 comments Download
M tests/PathTest.cpp View 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
caryclark
5 years, 9 months ago (2015-03-02 16:42:32 UTC) #2
robertphillips
lgtm + nits https://codereview.chromium.org/971773002/diff/1/src/core/SkPath.cpp File src/core/SkPath.cpp (right): https://codereview.chromium.org/971773002/diff/1/src/core/SkPath.cpp#newcode2267 src/core/SkPath.cpp:2267: pts[1] = pts[0]; // fall through ...
5 years, 9 months ago (2015-03-02 17:18:45 UTC) #3
caryclark
https://codereview.chromium.org/971773002/diff/1/src/core/SkPath.cpp File src/core/SkPath.cpp (right): https://codereview.chromium.org/971773002/diff/1/src/core/SkPath.cpp#newcode2267 src/core/SkPath.cpp:2267: pts[1] = pts[0]; On 2015/03/02 17:18:44, robertphillips wrote: > ...
5 years, 9 months ago (2015-03-02 17:55:57 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/971773002/20001
5 years, 9 months ago (2015-03-02 17:56:41 UTC) #7
commit-bot: I haz the power
5 years, 9 months ago (2015-03-02 18:07:59 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/5ccef577902ce1aefa05fb8107ad5d0aba848e7d

Powered by Google App Engine
This is Rietveld 408576698