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

Issue 267003002: add rounding-using-doubles methods on SkScalar and SkRect (Closed)

Created:
6 years, 7 months ago by reed1
Modified:
6 years, 7 months ago
Reviewers:
bungeman-skia
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

add rounding-using-doubles methods on SkScalar and SkRect Inspired by the excellent repro case for https://crbug.com/364224 patch from issue 265933010 BUG=364224 Committed: http://code.google.com/p/skia/source/detail?r=14566

Patch Set 1 #

Total comments: 4

Patch Set 2 : fix spelling in comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -1 line) Patch
M include/core/SkRect.h View 1 chunk +18 lines, -0 lines 0 comments Download
M include/core/SkScalar.h View 1 chunk +20 lines, -0 lines 0 comments Download
M src/core/SkScan_Path.cpp View 1 chunk +5 lines, -1 line 0 comments Download
M tests/PathTest.cpp View 2 chunks +45 lines, -0 lines 0 comments Download
M tests/ScalarTest.cpp View 1 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
reed1
6 years, 7 months ago (2014-05-05 13:43:43 UTC) #1
bungeman-skia
lgtm with nits if caryclark@ thinks it's ok. https://codereview.chromium.org/267003002/diff/1/include/core/SkScalar.h File include/core/SkScalar.h (right): https://codereview.chromium.org/267003002/diff/1/include/core/SkScalar.h#newcode103 include/core/SkScalar.h:103: return ...
6 years, 7 months ago (2014-05-05 15:39:31 UTC) #2
reed1
https://codereview.chromium.org/267003002/diff/1/include/core/SkScalar.h File include/core/SkScalar.h (right): https://codereview.chromium.org/267003002/diff/1/include/core/SkScalar.h#newcode103 include/core/SkScalar.h:103: return (int)floor(xx); On 2014/05/05 15:39:31, bungeman1 wrote: > So ...
6 years, 7 months ago (2014-05-05 15:56:37 UTC) #3
reed1
The CQ bit was checked by reed@google.com
6 years, 7 months ago (2014-05-05 15:58:23 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/reed@google.com/267003002/20001
6 years, 7 months ago (2014-05-05 15:58:33 UTC) #5
commit-bot: I haz the power
6 years, 7 months ago (2014-05-05 16:04:45 UTC) #6
Message was sent while issue was closed.
Change committed as 14566

Powered by Google App Engine
This is Rietveld 408576698