OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CANVAS_DIMENSIONS, 16, | 5 CANVAS_DIMENSIONS, 16, |
6 PATH_COLOR_ARGB, 0xFF, 0x0B, 0x80, 0x43, | 6 MOVE_TO, 11, 5, |
7 ROUND_RECT, 1, 1, 14, 14, 2, | 7 R_CUBIC_TO, 0, -1.67f, -1.34f, -3, -3, -2.99f, |
8 NEW_PATH, | 8 R_CUBIC_TO, -1.67f, 0, -3, 1.32f, -3, 2.99f, |
9 PATH_COLOR_ARGB, 0xFF, 0xFF, 0xFF, 0xFF, | 9 R_V_LINE_TO, 1, |
10 MOVE_TO, 4, 7.99f, | 10 R_CUBIC_TO, -0.55f, 0, -1, 0.45f, -1, 1, |
11 CUBIC_TO, 4, 7.44f, 4.45f, 7, 5, 7, | 11 V_LINE_TO, 12, |
12 LINE_TO, 11, 7, | 12 R_CUBIC_TO, 0, 0.55f, 0.45f, 1, 1, 1, |
13 CUBIC_TO, 11.55f, 7, 12, 7.45f, 12, 7.99f, | 13 R_H_LINE_TO, 6, |
14 LINE_TO, 12, 12.01f, | 14 R_CUBIC_TO, 0.55f, 0, 1, -0.45f, 1, -1, |
15 CUBIC_TO, 12, 12.56f, 11.55f, 13, 11, 13, | 15 V_LINE_TO, 7, |
16 LINE_TO, 5, 13, | 16 R_CUBIC_TO, 0, -0.53f, -0.48f, -0.97f, -1, -1, |
17 CUBIC_TO, 4.45f, 13, 4, 12.55f, 4, 12.01f, | 17 R_CUBIC_TO, -0.02f, 0, 0, -1, 0, -1, |
18 CLOSE, | 18 CLOSE, |
19 MOVE_TO, 7, 9, | 19 MOVE_TO, 6, 6.01f, |
20 LINE_TO, 9, 9, | 20 V_LINE_TO, 5.01f, |
21 LINE_TO, 9, 11, | 21 R_CUBIC_TO, 0, -1.1f, 0.9f, -1.99f, 2, -1.99f, |
22 LINE_TO, 7, 11, | 22 R_CUBIC_TO, 1.1f, 0, 2, 0.89f, 2, 2, |
| 23 V_LINE_TO, 6.01f, |
| 24 H_LINE_TO, 6, |
23 CLOSE, | 25 CLOSE, |
24 MOVE_TO, 5, 4, | |
25 LINE_TO, 6, 4, | |
26 LINE_TO, 6, 7, | |
27 LINE_TO, 5, 7, | |
28 CLOSE, | |
29 MOVE_TO, 10, 4, | |
30 LINE_TO, 11, 4, | |
31 LINE_TO, 11, 7, | |
32 LINE_TO, 10, 7, | |
33 CLOSE, | |
34 MOVE_TO, 6, 3, | |
35 LINE_TO, 10, 3, | |
36 LINE_TO, 10, 4, | |
37 LINE_TO, 6, 4, | |
38 CLOSE, | |
39 NEW_PATH, | |
40 PATH_COLOR_ARGB, 0x66, 0xFF, 0xFF, 0xFF, | |
41 ROUND_RECT, 5, 3, 1, 1, 0, | |
42 ROUND_RECT, 10, 3, 1, 1, 0, | |
43 NEW_PATH, | |
44 PATH_COLOR_ARGB, 0x7F, 0xFF, 0xFF, 0xFF, | |
45 ROUND_RECT, 9, 4, 1, 1, 0, | |
46 ROUND_RECT, 6, 4, 1, 1, 0, | |
47 END | 26 END |
OLD | NEW |