OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
| 5 // Note that this differs from the one in ui/vector_icons in that it is |
| 6 // optimized for display at 20dip. |
5 CANVAS_DIMENSIONS, 40, | 7 CANVAS_DIMENSIONS, 40, |
6 MOVE_TO, 20, 4, | 8 MOVE_TO, 20, 4, |
7 CUBIC_TO, 11.17f, 4, 4, 11.17f, 4, 20, | 9 CUBIC_TO, 11.17f, 4, 4, 11.17f, 4, 20, |
8 R_CUBIC_TO, 0, 8.83f, 7.17f, 16, 16, 16, | 10 R_CUBIC_TO, 0, 8.83f, 7.17f, 16, 16, 16, |
9 R_CUBIC_TO, 8.83f, 0, 16, -7.17f, 16, -16, | 11 R_CUBIC_TO, 8.83f, 0, 16, -7.17f, 16, -16, |
10 CUBIC_TO_SHORTHAND, 28.83f, 4, 20, 4, | 12 CUBIC_TO_SHORTHAND, 28.83f, 4, 20, 4, |
11 CLOSE, | 13 CLOSE, |
12 R_MOVE_TO, -3.2f, 24, | 14 R_MOVE_TO, -3.2f, 24, |
13 R_LINE_TO, -8, -8, | 15 R_LINE_TO, -8, -8, |
14 R_LINE_TO, 2.26f, -2.26f, | 16 R_LINE_TO, 2.26f, -2.26f, |
15 R_LINE_TO, 5.74f, 5.73f, | 17 R_LINE_TO, 5.74f, 5.73f, |
16 R_LINE_TO, 12.14f, -12.14f, | 18 R_LINE_TO, 12.14f, -12.14f, |
17 LINE_TO, 31.2f, 13.6f, | 19 LINE_TO, 31.2f, 13.6f, |
18 LINE_TO, 16.8f, 28, | 20 LINE_TO, 16.8f, 28, |
19 CLOSE, | 21 CLOSE, |
20 END | 22 END |
OLD | NEW |