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

Issue 2307533003: Add support for CUBIC_TO_S for rendering vector icons (Closed)

Created:
4 years, 3 months ago by tdanderson
Modified:
4 years, 3 months ago
Reviewers:
Evan Stade
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for CUBIC_TO_S for rendering vector icons Add support for the vector icon drawing command CUBIC_TO_S, which will correspond to the SVG path command 'S'. This new command computes its implicit first control point by using information about the current point and the second control point on the previous command. BUG=643265 TEST=manual Committed: https://crrev.com/9bcbbd3b5ffe60e191a92ff7cabde7cf3aac4502 Cr-Commit-Position: refs/heads/master@{#416996}

Patch Set 1 #

Total comments: 12

Patch Set 2 : comments addressed #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -0 lines) Patch
M ui/gfx/paint_vector_icon.cc View 1 4 chunks +33 lines, -0 lines 1 comment Download
M ui/gfx/vector_icon_types.h View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
tdanderson
Evan, please take a look. I will modify Skiafy as follow-up.
4 years, 3 months ago (2016-09-01 17:17:49 UTC) #4
Evan Stade
https://codereview.chromium.org/2307533003/diff/1/ui/gfx/paint_vector_icon.cc File ui/gfx/paint_vector_icon.cc (right): https://codereview.chromium.org/2307533003/diff/1/ui/gfx/paint_vector_icon.cc#newcode227 ui/gfx/paint_vector_icon.cc:227: SkScalar x = path_elements[++i].arg; why the name change? https://codereview.chromium.org/2307533003/diff/1/ui/gfx/paint_vector_icon.cc#newcode244 ...
4 years, 3 months ago (2016-09-01 20:21:23 UTC) #7
tdanderson
https://codereview.chromium.org/2307533003/diff/1/ui/gfx/paint_vector_icon.cc File ui/gfx/paint_vector_icon.cc (right): https://codereview.chromium.org/2307533003/diff/1/ui/gfx/paint_vector_icon.cc#newcode227 ui/gfx/paint_vector_icon.cc:227: SkScalar x = path_elements[++i].arg; On 2016/09/01 20:21:22, Evan Stade ...
4 years, 3 months ago (2016-09-01 20:45:00 UTC) #8
Evan Stade
https://codereview.chromium.org/2307533003/diff/1/ui/gfx/paint_vector_icon.cc File ui/gfx/paint_vector_icon.cc (right): https://codereview.chromium.org/2307533003/diff/1/ui/gfx/paint_vector_icon.cc#newcode227 ui/gfx/paint_vector_icon.cc:227: SkScalar x = path_elements[++i].arg; On 2016/09/01 20:45:00, tdanderson wrote: ...
4 years, 3 months ago (2016-09-01 20:53:22 UTC) #9
tdanderson
Evan, please take another look. https://codereview.chromium.org/2307533003/diff/1/ui/gfx/paint_vector_icon.cc File ui/gfx/paint_vector_icon.cc (right): https://codereview.chromium.org/2307533003/diff/1/ui/gfx/paint_vector_icon.cc#newcode227 ui/gfx/paint_vector_icon.cc:227: SkScalar x = path_elements[++i].arg; ...
4 years, 3 months ago (2016-09-02 16:40:49 UTC) #12
tdanderson
On 2016/09/02 16:40:49, tdanderson wrote: > Evan, please take another look. > > https://codereview.chromium.org/2307533003/diff/1/ui/gfx/paint_vector_icon.cc > ...
4 years, 3 months ago (2016-09-07 13:53:16 UTC) #15
Evan Stade
lgtm https://codereview.chromium.org/2307533003/diff/20001/ui/gfx/paint_vector_icon.cc File ui/gfx/paint_vector_icon.cc (right): https://codereview.chromium.org/2307533003/diff/20001/ui/gfx/paint_vector_icon.cc#newcode255 ui/gfx/paint_vector_icon.cc:255: if (previous_command_type == CUBIC_TO || it seems there's ...
4 years, 3 months ago (2016-09-07 16:34:22 UTC) #16
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/2307533003/20001
4 years, 3 months ago (2016-09-07 16:45:50 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-07 18:05:11 UTC) #19
commit-bot: I haz the power
4 years, 3 months ago (2016-09-07 18:07:07 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9bcbbd3b5ffe60e191a92ff7cabde7cf3aac4502
Cr-Commit-Position: refs/heads/master@{#416996}

Powered by Google App Engine
This is Rietveld 408576698