OLD | NEW |
1 | 1 |
2 Canvas log: | 2 Canvas log: |
3 { | 3 { |
4 0 : { | 4 0 : { |
5 method : "save" | 5 method : "save" |
6 } | 6 } |
7 1 : { | 7 1 : { |
8 method : "drawRect" | 8 method : "drawRect" |
9 params : { | 9 params : { |
10 paint : { | 10 paint : { |
(...skipping 14 matching lines...) Expand all Loading... |
25 } | 25 } |
26 rect : { | 26 rect : { |
27 bottom : 100 | 27 bottom : 100 |
28 left : 0 | 28 left : 0 |
29 right : 100 | 29 right : 100 |
30 top : 0 | 30 top : 0 |
31 } | 31 } |
32 } | 32 } |
33 } | 33 } |
34 10 : { | 34 10 : { |
35 method : "drawRect" | 35 method : "restore" |
36 params : { | |
37 paint : { | |
38 color : "#FF000000" | |
39 filterLevel : "Low" | |
40 flags : "AntiAlias" | |
41 hinting : "Normal" | |
42 strokeCap : "Butt" | |
43 strokeJoin : "Miter" | |
44 strokeMiter : 4 | |
45 strokeWidth : 0 | |
46 styleName : "Fill" | |
47 textAlign : "Left" | |
48 textEncoding : "UTF-8" | |
49 textScaleX : 1 | |
50 textSize : 12 | |
51 textSkewX : 0 | |
52 } | |
53 rect : { | |
54 bottom : 10 | |
55 left : 0 | |
56 right : 10 | |
57 top : 0 | |
58 } | |
59 } | |
60 } | 36 } |
61 11 : { | 37 11 : { |
62 method : "restore" | 38 method : "restore" |
63 } | 39 } |
64 12 : { | 40 12 : { |
65 method : "restore" | 41 method : "restore" |
66 } | 42 } |
67 13 : { | |
68 method : "restore" | |
69 } | |
70 14 : { | |
71 method : "restore" | |
72 } | |
73 2 : { | 43 2 : { |
74 method : "drawRect" | 44 method : "drawRect" |
75 params : { | 45 params : { |
76 paint : { | 46 paint : { |
77 color : "#FFFF0000" | 47 color : "#FFFF0000" |
78 filterLevel : "Low" | 48 filterLevel : "Low" |
79 flags : "AntiAlias" | 49 flags : "AntiAlias" |
80 hinting : "Normal" | 50 hinting : "Normal" |
81 strokeCap : "Butt" | 51 strokeCap : "Butt" |
82 strokeJoin : "Miter" | 52 strokeJoin : "Miter" |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 rect : { | 123 rect : { |
154 bottom : 221 | 124 bottom : 221 |
155 left : 0 | 125 left : 0 |
156 right : 300 | 126 right : 300 |
157 top : 71 | 127 top : 71 |
158 } | 128 } |
159 softClipEdgeStyle : false | 129 softClipEdgeStyle : false |
160 } | 130 } |
161 } | 131 } |
162 6 : { | 132 6 : { |
163 method : "translate" | 133 method : "setMatrix" |
164 params : { | 134 params : { |
165 dx : 0 | 135 matrix : [ |
166 dy : 71 | 136 1 |
| 137 0 |
| 138 0 |
| 139 0 |
| 140 1 |
| 141 71 |
| 142 0 |
| 143 0 |
| 144 1 |
| 145 ] |
167 } | 146 } |
168 } | 147 } |
169 7 : { | 148 7 : { |
170 method : "save" | 149 method : "save" |
171 } | 150 } |
172 8 : { | 151 8 : { |
173 method : "clipRect" | 152 method : "clipRect" |
174 params : { | 153 params : { |
175 SkRegion::Op : "kIntersect_Op" | 154 SkRegion::Op : "kIntersect_Op" |
176 rect : { | 155 rect : { |
177 bottom : 10 | 156 bottom : 10 |
178 left : 0 | 157 left : 0 |
179 right : 10 | 158 right : 10 |
180 top : 0 | 159 top : 0 |
181 } | 160 } |
182 softClipEdgeStyle : false | 161 softClipEdgeStyle : false |
183 } | 162 } |
184 } | 163 } |
185 9 : { | 164 9 : { |
186 method : "saveLayer" | 165 method : "drawRect" |
187 params : { | 166 params : { |
188 paint : { | 167 paint : { |
189 color : "#7F000000" | 168 color : "#7F000000" |
190 filterLevel : "None" | 169 filterLevel : "Low" |
191 flags : "none" | 170 flags : "AntiAlias" |
192 hinting : "Normal" | 171 hinting : "Normal" |
193 strokeCap : "Butt" | 172 strokeCap : "Butt" |
194 strokeJoin : "Miter" | 173 strokeJoin : "Miter" |
195 strokeMiter : 4 | 174 strokeMiter : 4 |
196 strokeWidth : 0 | 175 strokeWidth : 0 |
197 styleName : "Fill" | 176 styleName : "Fill" |
198 textAlign : "Left" | 177 textAlign : "Left" |
199 textEncoding : "UTF-8" | 178 textEncoding : "UTF-8" |
200 textScaleX : 1 | 179 textScaleX : 1 |
201 textSize : 12 | 180 textSize : 12 |
202 textSkewX : 0 | 181 textSkewX : 0 |
203 } | 182 } |
204 saveFlags : "kHasAlphaLayer_SaveFlag kFullColorLayer_SaveFlag kClipT
oLayer_SaveFlag " | 183 rect : { |
| 184 bottom : 10 |
| 185 left : 0 |
| 186 right : 10 |
| 187 top : 0 |
| 188 } |
205 } | 189 } |
206 } | 190 } |
207 } | 191 } |
208 | 192 |
OLD | NEW |