Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(321)

Issue 5529074: inject moveTo after close (when needed) (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 7 months ago by reed1
Modified:
13 years, 7 months ago
Reviewers:
Stephen Chenney
CC:
bsalomon, caryclark1
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Total comments: 2

Patch Set 2 : update #

Patch Set 3 : update PathTest now that we insert moves after close() #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -16 lines) Patch
M include/core/SkPath.h View 1 2 chunks +9 lines, -0 lines 2 comments Download
M src/core/SkPath.cpp View 1 9 chunks +38 lines, -12 lines 4 comments Download
M tests/PathTest.cpp View 1 2 5 chunks +8 lines, -4 lines 0 comments Download

Messages

Total messages: 14
reed1
draft for discussion
13 years, 7 months ago (2012-01-11 22:55:01 UTC) #1
reed1
13 years, 7 months ago (2012-01-11 22:56:55 UTC) #2
Stephen Chenney
With this change I think you can also remove the kAfterClose_SegmentState in SkPath::Iter, setting the ...
13 years, 7 months ago (2012-01-11 23:13:25 UTC) #3
Stephen Chenney
And I would suggest getting http://codereview.appspot.com/5533074/ in first as it has a bit more testing. ...
13 years, 7 months ago (2012-01-11 23:14:46 UTC) #4
reed1
This seems to pass everything, but fails in PathTests.cpp : test_raw_iter. I am wondering if ...
13 years, 7 months ago (2012-01-12 16:33:04 UTC) #5
Stephen Chenney
I patched this in and got all the kinks sorted out (there were several). Unfortunately, ...
13 years, 7 months ago (2012-01-12 16:38:25 UTC) #6
Stephen Chenney
On 2012/01/12 16:33:04, reed1 wrote: > This seems to pass everything, but fails in PathTests.cpp ...
13 years, 7 months ago (2012-01-12 16:39:38 UTC) #7
reed1
This revision has an updated PathTest that passes. I'll file a separate bug to address ...
13 years, 7 months ago (2012-01-12 16:47:30 UTC) #8
reed1
this test (with tolerance added) now passes as well. static void test_meas() { SkPath path; ...
13 years, 7 months ago (2012-01-12 16:51:55 UTC) #9
Stephen Chenney
Some clean up changes below. Otherwise LGTM. http://codereview.appspot.com/5529074/diff/5001/include/core/SkPath.h File include/core/SkPath.h (right): http://codereview.appspot.com/5529074/diff/5001/include/core/SkPath.h#newcode755 include/core/SkPath.h:755: friend class ...
13 years, 7 months ago (2012-01-12 17:00:42 UTC) #10
reed1
fixed the missing swap. for clarity, I'll make those cleanups a separate change.
13 years, 7 months ago (2012-01-12 18:18:07 UTC) #11
reed1
actually, I don't understand the other comments per-se. How can I remove const_moveto from the ...
13 years, 7 months ago (2012-01-12 18:22:18 UTC) #12
Stephen Chenney
On 2012/01/12 18:22:18, reed1 wrote: > actually, I don't understand the other comments per-se. How ...
13 years, 7 months ago (2012-01-12 18:25:02 UTC) #13
Stephen Chenney
13 years, 7 months ago (2012-01-18 18:36:10 UTC) #14
I think we can close this now. Cleanup code is in
http://codereview.appspot.com/5532091/
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b