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, 0xFF, 0xFF, 0xFF, | 6 PATH_COLOR_ARGB, 0xFF, 0xFF, 0xFF, 0xFF, |
7 ROUND_RECT, 1, 1, 14, 14, 2, | 7 ROUND_RECT, 1, 1, 14, 14, 2, |
8 NEW_PATH, | 8 NEW_PATH, |
9 PATH_COLOR_ARGB, 0xFF, 0x0B, 0x80, 0x43, | 9 PATH_COLOR_ARGB, 0xFF, 0x0B, 0x80, 0x43, |
10 MOVE_TO, 4, 7.99f, | 10 MOVE_TO, 11, 5, |
11 CUBIC_TO, 4, 7.44f, 4.45f, 7, 5, 7, | 11 CUBIC_TO, 11, 3.33f, 9.66f, 2, 8, 2.01f, |
12 LINE_TO, 11, 7, | 12 CUBIC_TO, 6.33f, 2.01f, 5, 3.33f, 5, 5, |
13 CUBIC_TO, 11.55f, 7, 12, 7.45f, 12, 7.99f, | 13 CUBIC_TO, 5, 7.46f, 5, 6, 5, 6, |
14 LINE_TO, 12, 12.01f, | 14 CUBIC_TO, 4.45f, 6, 4, 6.45f, 4, 7, |
15 CUBIC_TO, 12, 12.56f, 11.55f, 13, 11, 13, | 15 LINE_TO, 4, 12, |
16 LINE_TO, 5, 13, | 16 CUBIC_TO, 4, 12.55f, 4.45f, 13, 5, 13, |
17 CUBIC_TO, 4.45f, 13, 4, 12.55f, 4, 12.01f, | 17 CUBIC_TO, 5.55f, 13, 10.45f, 13, 11, 13, |
| 18 CUBIC_TO, 11.55f, 13, 12, 12.55f, 12, 12, |
| 19 CUBIC_TO, 12, 11.45f, 12, 7.55f, 12, 7, |
| 20 CUBIC_TO, 12, 6.47f, 11.52f, 6.03f, 11, 6, |
| 21 CUBIC_TO, 10.98f, 6, 11, 5, 11, 5, |
18 CLOSE, | 22 CLOSE, |
19 MOVE_TO, 7, 9, | 23 MOVE_TO, 6, 6.01f, |
20 LINE_TO, 9, 9, | 24 CUBIC_TO, 6, 6.01f, 6, 6.11f, 6, 5.01f, |
21 LINE_TO, 9, 11, | 25 CUBIC_TO, 6, 3.9f, 6.9f, 3.01f, 8, 3.01f, |
22 LINE_TO, 7, 11, | 26 CUBIC_TO, 9.1f, 3.01f, 10, 3.9f, 10, 5.01f, |
| 27 LINE_TO, 10, 6.01f, |
| 28 LINE_TO, 6, 6.01f, |
23 CLOSE, | 29 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, 0x0B, 0x80, 0x43, | |
41 ROUND_RECT, 5, 3, 1, 1, 0, | |
42 ROUND_RECT, 10, 3, 1, 1, 0, | |
43 NEW_PATH, | |
44 PATH_COLOR_ARGB, 0x7F, 0x0B, 0x80, 0x43, | |
45 ROUND_RECT, 9, 4, 1, 1, 0, | |
46 ROUND_RECT, 6, 4, 1, 1, 0, | |
47 END | 30 END |
OLD | NEW |