OLD | NEW |
| (Empty) |
1 | |
2 /* | |
3 * Copyright 2006 The Android Open Source Project | |
4 * | |
5 * Use of this source code is governed by a BSD-style license that can be | |
6 * found in the LICENSE file. | |
7 */ | |
8 | |
9 | |
10 #include "SkTypes.h" | |
11 #ifndef SK_BUILD_FOR_UNIX | |
12 #ifdef SK_DEBUG | |
13 // This file was automatically generated. | |
14 // To change it, edit the file with the matching debug info. | |
15 // Then execute SkDisplayType::BuildCondensedInfo() to regenerate this file. | |
16 | |
17 static const char gMathStrings[] = | |
18 "E\0" | |
19 "LN10\0" | |
20 "LN2\0" | |
21 "LOG10E\0" | |
22 "LOG2E\0" | |
23 "PI\0" | |
24 "SQRT1_2\0" | |
25 "SQRT2\0" | |
26 "abs\0" | |
27 "acos\0" | |
28 "asin\0" | |
29 "atan\0" | |
30 "atan2\0" | |
31 "ceil\0" | |
32 "cos\0" | |
33 "exp\0" | |
34 "floor\0" | |
35 "log\0" | |
36 "max\0" | |
37 "min\0" | |
38 "pow\0" | |
39 "random\0" | |
40 "round\0" | |
41 "sin\0" | |
42 "sqrt\0" | |
43 "tan" | |
44 ; | |
45 | |
46 static const SkMemberInfo gMathInfo[] = { | |
47 {0, -1, 67, 98}, | |
48 {2, -2, 67, 98}, | |
49 {7, -3, 67, 98}, | |
50 {11, -4, 67, 98}, | |
51 {18, -5, 67, 98}, | |
52 {24, -6, 67, 98}, | |
53 {27, -7, 67, 98}, | |
54 {35, -8, 67, 98}, | |
55 {41, -1, 66, 98}, | |
56 {45, -2, 66, 98}, | |
57 {50, -3, 66, 98}, | |
58 {55, -4, 66, 98}, | |
59 {60, -5, 66, 98}, | |
60 {66, -6, 66, 98}, | |
61 {71, -7, 66, 98}, | |
62 {75, -8, 66, 98}, | |
63 {79, -9, 66, 98}, | |
64 {85, -10, 66, 98}, | |
65 {89, -11, 66, 98}, | |
66 {93, -12, 66, 98}, | |
67 {97, -13, 66, 98}, | |
68 {101, -14, 66, 98}, | |
69 {108, -15, 66, 98}, | |
70 {114, -16, 66, 98}, | |
71 {118, -17, 66, 98}, | |
72 {123, -18, 66, 98} | |
73 }; | |
74 | |
75 static const char gAddStrings[] = | |
76 "inPlace\0" | |
77 "offset\0" | |
78 "use\0" | |
79 "where" | |
80 ; | |
81 | |
82 static const SkMemberInfo gAddInfo[] = { | |
83 {0, 16, 26, 1}, | |
84 {8, 20, 96, 1}, | |
85 {15, 24, 37, 1}, | |
86 {19, 28, 37, 1} | |
87 }; | |
88 | |
89 static const char gAddCircleStrings[] = | |
90 "\0" | |
91 "radius\0" | |
92 "x\0" | |
93 "y" | |
94 ; | |
95 | |
96 static const SkMemberInfo gAddCircleInfo[] = { | |
97 {0, 3, 18, 1}, | |
98 {1, 24, 98, 1}, | |
99 {8, 28, 98, 1}, | |
100 {10, 32, 98, 1} | |
101 }; | |
102 | |
103 static const char gUnknown1Strings[] = | |
104 "direction" | |
105 ; | |
106 | |
107 static const SkMemberInfo gUnknown1Info[] = { | |
108 {0, 20, 75, 1} | |
109 }; | |
110 | |
111 static const char gAddOvalStrings[] = | |
112 "" | |
113 ; | |
114 | |
115 static const SkMemberInfo gAddOvalInfo[] = { | |
116 {0, 6, 18, 5} | |
117 }; | |
118 | |
119 static const char gAddPathStrings[] = | |
120 "matrix\0" | |
121 "path" | |
122 ; | |
123 | |
124 static const SkMemberInfo gAddPathInfo[] = { | |
125 {0, 20, 65, 1}, | |
126 {7, 24, 74, 1} | |
127 }; | |
128 | |
129 static const char gAddRectangleStrings[] = | |
130 "\0" | |
131 "bottom\0" | |
132 "left\0" | |
133 "right\0" | |
134 "top" | |
135 ; | |
136 | |
137 static const SkMemberInfo gAddRectangleInfo[] = { | |
138 {0, 3, 18, 1}, | |
139 {1, 36, 98, 1}, | |
140 {8, 24, 98, 1}, | |
141 {13, 32, 98, 1}, | |
142 {19, 28, 98, 1} | |
143 }; | |
144 | |
145 static const char gAddRoundRectStrings[] = | |
146 "\0" | |
147 "rx\0" | |
148 "ry" | |
149 ; | |
150 | |
151 static const SkMemberInfo gAddRoundRectInfo[] = { | |
152 {0, 6, 18, 5}, | |
153 {1, 40, 98, 1}, | |
154 {4, 44, 98, 1} | |
155 }; | |
156 | |
157 static const char gUnknown2Strings[] = | |
158 "begin\0" | |
159 "blend\0" | |
160 "dur\0" | |
161 "dynamic\0" | |
162 "field\0" | |
163 "formula\0" | |
164 "from\0" | |
165 "mirror\0" | |
166 "repeat\0" | |
167 "reset\0" | |
168 "target\0" | |
169 "to\0" | |
170 "values" | |
171 ; | |
172 | |
173 static const SkMemberInfo gUnknown2Info[] = { | |
174 {0, 16, 71, 1}, | |
175 {6, 20, 119, 98}, | |
176 {12, 36, 71, 1}, | |
177 {16, -1, 67, 26}, | |
178 {24, 40, 108, 2}, | |
179 {30, 48, 40, 2}, | |
180 {38, 56, 40, 2}, | |
181 {43, -2, 67, 26}, | |
182 {50, 64, 98, 1}, | |
183 {57, -3, 67, 26}, | |
184 {63, 68, 40, 2}, | |
185 {70, 76, 40, 2}, | |
186 {73, -4, 67, 40} | |
187 }; | |
188 | |
189 static const char gAnimateFieldStrings[] = | |
190 "" | |
191 ; | |
192 | |
193 static const SkMemberInfo gAnimateFieldInfo[] = { | |
194 {0, 8, 18, 13} | |
195 }; | |
196 | |
197 static const char gApplyStrings[] = | |
198 "animator\0" | |
199 "begin\0" | |
200 "dontDraw\0" | |
201 "dynamicScope\0" | |
202 "interval\0" | |
203 "mode\0" | |
204 "pickup\0" | |
205 "restore\0" | |
206 "scope\0" | |
207 "step\0" | |
208 "steps\0" | |
209 "time\0" | |
210 "transition" | |
211 ; | |
212 | |
213 static const SkMemberInfo gApplyInfo[] = { | |
214 {0, -1, 67, 10}, | |
215 {9, 16, 71, 1}, | |
216 {15, 20, 26, 1}, | |
217 {24, 24, 108, 2}, | |
218 {37, 32, 71, 1}, | |
219 {46, 36, 13, 1}, | |
220 {51, 40, 26, 1}, | |
221 {58, 44, 26, 1}, | |
222 {66, 48, 37, 1}, | |
223 {72, -2, 67, 96}, | |
224 {77, 52, 96, 1}, | |
225 {83, -3, 67, 71}, | |
226 {88, 56, 14, 1} | |
227 }; | |
228 | |
229 static const char gUnknown3Strings[] = | |
230 "x\0" | |
231 "y" | |
232 ; | |
233 | |
234 static const SkMemberInfo gUnknown3Info[] = { | |
235 {0, 48, 98, 1}, | |
236 {2, 52, 98, 1} | |
237 }; | |
238 | |
239 static const char gBitmapStrings[] = | |
240 "\0" | |
241 "erase\0" | |
242 "format\0" | |
243 "height\0" | |
244 "rowBytes\0" | |
245 "width" | |
246 ; | |
247 | |
248 static const SkMemberInfo gDrawBitmapInfo[] = { | |
249 {0, 11, 18, 2}, | |
250 {1, -1, 67, 15}, | |
251 {7, 56, 21, 1}, | |
252 {14, 60, 96, 1}, | |
253 {21, 64, 96, 1}, | |
254 {30, 68, 96, 1} | |
255 }; | |
256 | |
257 static const char gBitmapShaderStrings[] = | |
258 "\0" | |
259 "filterType\0" | |
260 "image" | |
261 ; | |
262 | |
263 static const SkMemberInfo gDrawBitmapShaderInfo[] = { | |
264 {0, 67, 18, 2}, | |
265 {1, 28, 47, 1}, | |
266 {12, 32, 17, 1} | |
267 }; | |
268 | |
269 static const char gBlurStrings[] = | |
270 "blurStyle\0" | |
271 "radius" | |
272 ; | |
273 | |
274 static const SkMemberInfo gDrawBlurInfo[] = { | |
275 {0, 24, 63, 1}, | |
276 {10, 20, 98, 1} | |
277 }; | |
278 | |
279 static const char gBoundsStrings[] = | |
280 "\0" | |
281 "inval" | |
282 ; | |
283 | |
284 static const SkMemberInfo gDisplayBoundsInfo[] = { | |
285 {0, 58, 18, 7}, | |
286 {1, 44, 26, 1} | |
287 }; | |
288 | |
289 static const char gClipStrings[] = | |
290 "path\0" | |
291 "rectangle" | |
292 ; | |
293 | |
294 static const SkMemberInfo gDrawClipInfo[] = { | |
295 {0, 20, 74, 1}, | |
296 {5, 16, 91, 1} | |
297 }; | |
298 | |
299 static const char gColorStrings[] = | |
300 "alpha\0" | |
301 "blue\0" | |
302 "color\0" | |
303 "green\0" | |
304 "hue\0" | |
305 "red\0" | |
306 "saturation\0" | |
307 "value" | |
308 ; | |
309 | |
310 static const SkMemberInfo gDrawColorInfo[] = { | |
311 {0, -1, 67, 98}, | |
312 {6, -2, 67, 98}, | |
313 {11, 20, 15, 1}, | |
314 {17, -3, 67, 98}, | |
315 {23, -4, 67, 98}, | |
316 {27, -5, 67, 98}, | |
317 {31, -6, 67, 98}, | |
318 {42, -7, 67, 98} | |
319 }; | |
320 | |
321 static const char gCubicToStrings[] = | |
322 "x1\0" | |
323 "x2\0" | |
324 "x3\0" | |
325 "y1\0" | |
326 "y2\0" | |
327 "y3" | |
328 ; | |
329 | |
330 static const SkMemberInfo gCubicToInfo[] = { | |
331 {0, 20, 98, 1}, | |
332 {3, 28, 98, 1}, | |
333 {6, 36, 98, 1}, | |
334 {9, 24, 98, 1}, | |
335 {12, 32, 98, 1}, | |
336 {15, 40, 98, 1} | |
337 }; | |
338 | |
339 static const char gDashStrings[] = | |
340 "intervals\0" | |
341 "phase" | |
342 ; | |
343 | |
344 static const SkMemberInfo gDashInfo[] = { | |
345 {0, 20, 119, 98}, | |
346 {10, 36, 98, 1} | |
347 }; | |
348 | |
349 static const char gDataStrings[] = | |
350 "\0" | |
351 "name" | |
352 ; | |
353 | |
354 static const SkMemberInfo gDataInfo[] = { | |
355 {0, 33, 18, 3}, | |
356 {1, 32, 108, 2} | |
357 }; | |
358 | |
359 static const char gDiscreteStrings[] = | |
360 "deviation\0" | |
361 "segLength" | |
362 ; | |
363 | |
364 static const SkMemberInfo gDiscreteInfo[] = { | |
365 {0, 20, 98, 1}, | |
366 {10, 24, 98, 1} | |
367 }; | |
368 | |
369 static const char gDrawToStrings[] = | |
370 "drawOnce\0" | |
371 "use" | |
372 ; | |
373 | |
374 static const SkMemberInfo gDrawToInfo[] = { | |
375 {0, 72, 26, 1}, | |
376 {9, 76, 19, 1} | |
377 }; | |
378 | |
379 static const char gDumpStrings[] = | |
380 "displayList\0" | |
381 "eventList\0" | |
382 "events\0" | |
383 "groups\0" | |
384 "name\0" | |
385 "posts" | |
386 ; | |
387 | |
388 static const SkMemberInfo gDumpInfo[] = { | |
389 {0, 16, 26, 1}, | |
390 {12, 20, 26, 1}, | |
391 {22, 24, 26, 1}, | |
392 {29, 36, 26, 1}, | |
393 {36, 28, 108, 2}, | |
394 {41, 40, 26, 1} | |
395 }; | |
396 | |
397 static const char gEmbossStrings[] = | |
398 "ambient\0" | |
399 "direction\0" | |
400 "radius\0" | |
401 "specular" | |
402 ; | |
403 | |
404 static const SkMemberInfo gDrawEmbossInfo[] = { | |
405 {0, -1, 67, 98}, | |
406 {8, 20, 119, 98}, | |
407 {18, 36, 98, 1}, | |
408 {25, -2, 67, 98} | |
409 }; | |
410 | |
411 static const char gEventStrings[] = | |
412 "code\0" | |
413 "disable\0" | |
414 "key\0" | |
415 "keys\0" | |
416 "kind\0" | |
417 "target\0" | |
418 "x\0" | |
419 "y" | |
420 ; | |
421 | |
422 static const SkMemberInfo gDisplayEventInfo[] = { | |
423 {0, 16, 43, 1}, | |
424 {5, 20, 26, 1}, | |
425 {13, -1, 67, 108}, | |
426 {17, -2, 67, 108}, | |
427 {22, 24, 44, 1}, | |
428 {27, 28, 108, 2}, | |
429 {34, 36, 98, 1}, | |
430 {36, 40, 98, 1} | |
431 }; | |
432 | |
433 static const char gFromPathStrings[] = | |
434 "mode\0" | |
435 "offset\0" | |
436 "path" | |
437 ; | |
438 | |
439 static const SkMemberInfo gFromPathInfo[] = { | |
440 {0, 20, 49, 1}, | |
441 {5, 24, 98, 1}, | |
442 {12, 28, 74, 1} | |
443 }; | |
444 | |
445 static const char gUnknown4Strings[] = | |
446 "\0" | |
447 "offsets\0" | |
448 "unitMapper" | |
449 ; | |
450 | |
451 static const SkMemberInfo gUnknown4Info[] = { | |
452 {0, 67, 18, 2}, | |
453 {1, 28, 119, 98}, | |
454 {9, 44, 108, 2} | |
455 }; | |
456 | |
457 static const char gGStrings[] = | |
458 "condition\0" | |
459 "enableCondition" | |
460 ; | |
461 | |
462 static const SkMemberInfo gGInfo[] = { | |
463 {0, 16, 40, 2}, | |
464 {10, 24, 40, 2} | |
465 }; | |
466 | |
467 static const char gHitClearStrings[] = | |
468 "targets" | |
469 ; | |
470 | |
471 static const SkMemberInfo gHitClearInfo[] = { | |
472 {0, 16, 119, 36} | |
473 }; | |
474 | |
475 static const char gHitTestStrings[] = | |
476 "bullets\0" | |
477 "hits\0" | |
478 "targets\0" | |
479 "value" | |
480 ; | |
481 | |
482 static const SkMemberInfo gHitTestInfo[] = { | |
483 {0, 16, 119, 36}, | |
484 {8, 32, 119, 96}, | |
485 {13, 48, 119, 36}, | |
486 {21, 64, 26, 1} | |
487 }; | |
488 | |
489 static const char gImageStrings[] = | |
490 "\0" | |
491 "base64\0" | |
492 "src" | |
493 ; | |
494 | |
495 static const SkMemberInfo gImageInfo[] = { | |
496 {0, 11, 18, 2}, | |
497 {1, 56, 16, 2}, | |
498 {8, 64, 108, 2} | |
499 }; | |
500 | |
501 static const char gIncludeStrings[] = | |
502 "src" | |
503 ; | |
504 | |
505 static const SkMemberInfo gIncludeInfo[] = { | |
506 {0, 16, 108, 2} | |
507 }; | |
508 | |
509 static const char gInputStrings[] = | |
510 "s32\0" | |
511 "scalar\0" | |
512 "string" | |
513 ; | |
514 | |
515 static const SkMemberInfo gInputInfo[] = { | |
516 {0, 16, 96, 1}, | |
517 {4, 20, 98, 1}, | |
518 {11, 24, 108, 2} | |
519 }; | |
520 | |
521 static const char gLineStrings[] = | |
522 "x1\0" | |
523 "x2\0" | |
524 "y1\0" | |
525 "y2" | |
526 ; | |
527 | |
528 static const SkMemberInfo gLineInfo[] = { | |
529 {0, 24, 98, 1}, | |
530 {3, 28, 98, 1}, | |
531 {6, 32, 98, 1}, | |
532 {9, 36, 98, 1} | |
533 }; | |
534 | |
535 static const char gLineToStrings[] = | |
536 "x\0" | |
537 "y" | |
538 ; | |
539 | |
540 static const SkMemberInfo gLineToInfo[] = { | |
541 {0, 20, 98, 1}, | |
542 {2, 24, 98, 1} | |
543 }; | |
544 | |
545 static const char gLinearGradientStrings[] = | |
546 "\0" | |
547 "points" | |
548 ; | |
549 | |
550 static const SkMemberInfo gLinearGradientInfo[] = { | |
551 {0, 27, 18, 3}, | |
552 {1, 88, 77, 4} | |
553 }; | |
554 | |
555 static const char gMatrixStrings[] = | |
556 "matrix\0" | |
557 "perspectX\0" | |
558 "perspectY\0" | |
559 "rotate\0" | |
560 "scale\0" | |
561 "scaleX\0" | |
562 "scaleY\0" | |
563 "skewX\0" | |
564 "skewY\0" | |
565 "translate\0" | |
566 "translateX\0" | |
567 "translateY" | |
568 ; | |
569 | |
570 static const SkMemberInfo gDrawMatrixInfo[] = { | |
571 {0, 16, 119, 98}, | |
572 {7, -1, 67, 98}, | |
573 {17, -2, 67, 98}, | |
574 {27, -3, 67, 98}, | |
575 {34, -4, 67, 98}, | |
576 {40, -5, 67, 98}, | |
577 {47, -6, 67, 98}, | |
578 {54, -7, 67, 98}, | |
579 {60, -8, 67, 98}, | |
580 {66, -9, 67, 77}, | |
581 {76, -10, 67, 98}, | |
582 {87, -11, 67, 98} | |
583 }; | |
584 | |
585 static const char gMoveStrings[] = | |
586 "" | |
587 ; | |
588 | |
589 static const SkMemberInfo gMoveInfo[] = { | |
590 {0, 1, 18, 4} | |
591 }; | |
592 | |
593 static const char gMoveToStrings[] = | |
594 "x\0" | |
595 "y" | |
596 ; | |
597 | |
598 static const SkMemberInfo gMoveToInfo[] = { | |
599 {0, 20, 98, 1}, | |
600 {2, 24, 98, 1} | |
601 }; | |
602 | |
603 static const char gMovieStrings[] = | |
604 "src" | |
605 ; | |
606 | |
607 static const SkMemberInfo gMovieInfo[] = { | |
608 {0, 16, 108, 2} | |
609 }; | |
610 | |
611 static const char gOvalStrings[] = | |
612 "" | |
613 ; | |
614 | |
615 static const SkMemberInfo gOvalInfo[] = { | |
616 {0, 58, 18, 7} | |
617 }; | |
618 | |
619 static const char gPaintStrings[] = | |
620 "antiAlias\0" | |
621 "ascent\0" | |
622 "color\0" | |
623 "descent\0" | |
624 "filterType\0" | |
625 "linearText\0" | |
626 "maskFilter\0" | |
627 "measureText\0" | |
628 "pathEffect\0" | |
629 "shader\0" | |
630 "strikeThru\0" | |
631 "stroke\0" | |
632 "strokeCap\0" | |
633 "strokeJoin\0" | |
634 "strokeMiter\0" | |
635 "strokeWidth\0" | |
636 "style\0" | |
637 "textAlign\0" | |
638 "textScaleX\0" | |
639 "textSize\0" | |
640 "textSkewX\0" | |
641 "textTracking\0" | |
642 "typeface\0" | |
643 "underline\0" | |
644 "xfermode" | |
645 ; | |
646 | |
647 static const SkMemberInfo gDrawPaintInfo[] = { | |
648 {0, 16, 26, 1}, | |
649 {10, -1, 67, 98}, | |
650 {17, 20, 31, 1}, | |
651 {23, -2, 67, 98}, | |
652 {31, 24, 47, 1}, | |
653 {42, 28, 26, 1}, | |
654 {53, 32, 62, 1}, | |
655 {64, -1, 66, 98}, | |
656 {76, 36, 76, 1}, | |
657 {87, 40, 102, 1}, | |
658 {94, 44, 26, 1}, | |
659 {105, 48, 26, 1}, | |
660 {112, 52, 27, 1}, | |
661 {122, 56, 58, 1}, | |
662 {133, 60, 98, 1}, | |
663 {145, 64, 98, 1}, | |
664 {157, 68, 109, 1}, | |
665 {163, 72, 9, 1}, | |
666 {173, 76, 98, 1}, | |
667 {184, 80, 98, 1}, | |
668 {193, 84, 98, 1}, | |
669 {203, 88, 98, 1}, | |
670 {216, 92, 120, 1}, | |
671 {225, 96, 26, 1}, | |
672 {235, 100, 121, 1} | |
673 }; | |
674 | |
675 static const char gPathStrings[] = | |
676 "d\0" | |
677 "fillType\0" | |
678 "length" | |
679 ; | |
680 | |
681 static const SkMemberInfo gDrawPathInfo[] = { | |
682 {0, 52, 108, 2}, | |
683 {2, -1, 67, 46}, | |
684 {11, -2, 67, 98} | |
685 }; | |
686 | |
687 static const char gUnknown5Strings[] = | |
688 "x\0" | |
689 "y\0" | |
690 "z" | |
691 ; | |
692 | |
693 static const SkMemberInfo gUnknown5Info[] = { | |
694 {0, 0, 98, 1}, | |
695 {2, 4, 98, 1}, | |
696 {4, 8, 98, 1} | |
697 }; | |
698 | |
699 static const char gPointStrings[] = | |
700 "x\0" | |
701 "y" | |
702 ; | |
703 | |
704 static const SkMemberInfo gDrawPointInfo[] = { | |
705 {0, 16, 98, 1}, | |
706 {2, 20, 98, 1} | |
707 }; | |
708 | |
709 static const char gPolyToPolyStrings[] = | |
710 "destination\0" | |
711 "source" | |
712 ; | |
713 | |
714 static const SkMemberInfo gPolyToPolyInfo[] = { | |
715 {0, 24, 80, 1}, | |
716 {12, 20, 80, 1} | |
717 }; | |
718 | |
719 static const char gPolygonStrings[] = | |
720 "" | |
721 ; | |
722 | |
723 static const SkMemberInfo gPolygonInfo[] = { | |
724 {0, 48, 18, 1} | |
725 }; | |
726 | |
727 static const char gPolylineStrings[] = | |
728 "points" | |
729 ; | |
730 | |
731 static const SkMemberInfo gPolylineInfo[] = { | |
732 {0, 88, 119, 98} | |
733 }; | |
734 | |
735 static const char gPostStrings[] = | |
736 "delay\0" | |
737 "initialized\0" | |
738 "mode\0" | |
739 "sink\0" | |
740 "target\0" | |
741 "type" | |
742 ; | |
743 | |
744 static const SkMemberInfo gPostInfo[] = { | |
745 {0, 16, 71, 1}, | |
746 {6, 20, 26, 1}, | |
747 {18, 24, 45, 1}, | |
748 {23, -1, 67, 108}, | |
749 {28, -2, 67, 108}, | |
750 {35, -3, 67, 108} | |
751 }; | |
752 | |
753 static const char gQuadToStrings[] = | |
754 "x1\0" | |
755 "x2\0" | |
756 "y1\0" | |
757 "y2" | |
758 ; | |
759 | |
760 static const SkMemberInfo gQuadToInfo[] = { | |
761 {0, 20, 98, 1}, | |
762 {3, 28, 98, 1}, | |
763 {6, 24, 98, 1}, | |
764 {9, 32, 98, 1} | |
765 }; | |
766 | |
767 static const char gRCubicToStrings[] = | |
768 "" | |
769 ; | |
770 | |
771 static const SkMemberInfo gRCubicToInfo[] = { | |
772 {0, 18, 18, 6} | |
773 }; | |
774 | |
775 static const char gRLineToStrings[] = | |
776 "" | |
777 ; | |
778 | |
779 static const SkMemberInfo gRLineToInfo[] = { | |
780 {0, 35, 18, 2} | |
781 }; | |
782 | |
783 static const char gRMoveToStrings[] = | |
784 "" | |
785 ; | |
786 | |
787 static const SkMemberInfo gRMoveToInfo[] = { | |
788 {0, 39, 18, 2} | |
789 }; | |
790 | |
791 static const char gRQuadToStrings[] = | |
792 "" | |
793 ; | |
794 | |
795 static const SkMemberInfo gRQuadToInfo[] = { | |
796 {0, 50, 18, 4} | |
797 }; | |
798 | |
799 static const char gRadialGradientStrings[] = | |
800 "\0" | |
801 "center\0" | |
802 "radius" | |
803 ; | |
804 | |
805 static const SkMemberInfo gRadialGradientInfo[] = { | |
806 {0, 27, 18, 3}, | |
807 {1, 88, 77, 2}, | |
808 {8, 96, 98, 1} | |
809 }; | |
810 | |
811 static const char gRandomStrings[] = | |
812 "blend\0" | |
813 "max\0" | |
814 "min\0" | |
815 "random\0" | |
816 "seed" | |
817 ; | |
818 | |
819 static const SkMemberInfo gDisplayRandomInfo[] = { | |
820 {0, 16, 98, 1}, | |
821 {6, 24, 98, 1}, | |
822 {10, 20, 98, 1}, | |
823 {14, 1, 67, 98}, | |
824 {21, -2, 67, 96} | |
825 }; | |
826 | |
827 static const char gRectToRectStrings[] = | |
828 "destination\0" | |
829 "source" | |
830 ; | |
831 | |
832 static const SkMemberInfo gRectToRectInfo[] = { | |
833 {0, 24, 91, 1}, | |
834 {12, 20, 91, 1} | |
835 }; | |
836 | |
837 static const char gRectangleStrings[] = | |
838 "bottom\0" | |
839 "height\0" | |
840 "left\0" | |
841 "needsRedraw\0" | |
842 "right\0" | |
843 "top\0" | |
844 "width" | |
845 ; | |
846 | |
847 static const SkMemberInfo gRectangleInfo[] = { | |
848 {0, 36, 98, 1}, | |
849 {7, -1, 67, 98}, | |
850 {14, 24, 98, 1}, | |
851 {19, -2, 67, 26}, | |
852 {31, 32, 98, 1}, | |
853 {37, 28, 98, 1}, | |
854 {41, -3, 67, 98} | |
855 }; | |
856 | |
857 static const char gRemoveStrings[] = | |
858 "offset\0" | |
859 "where" | |
860 ; | |
861 | |
862 static const SkMemberInfo gRemoveInfo[] = { | |
863 {0, 20, 96, 1}, | |
864 {7, 28, 37, 1} | |
865 }; | |
866 | |
867 static const char gReplaceStrings[] = | |
868 "" | |
869 ; | |
870 | |
871 static const SkMemberInfo gReplaceInfo[] = { | |
872 {0, 1, 18, 4} | |
873 }; | |
874 | |
875 static const char gRotateStrings[] = | |
876 "center\0" | |
877 "degrees" | |
878 ; | |
879 | |
880 static const SkMemberInfo gRotateInfo[] = { | |
881 {0, 24, 77, 2}, | |
882 {7, 20, 98, 1} | |
883 }; | |
884 | |
885 static const char gRoundRectStrings[] = | |
886 "\0" | |
887 "rx\0" | |
888 "ry" | |
889 ; | |
890 | |
891 static const SkMemberInfo gRoundRectInfo[] = { | |
892 {0, 58, 18, 7}, | |
893 {1, 44, 98, 1}, | |
894 {4, 48, 98, 1} | |
895 }; | |
896 | |
897 static const char gS32Strings[] = | |
898 "value" | |
899 ; | |
900 | |
901 static const SkMemberInfo gS32Info[] = { | |
902 {0, 16, 96, 1} | |
903 }; | |
904 | |
905 static const char gScalarStrings[] = | |
906 "value" | |
907 ; | |
908 | |
909 static const SkMemberInfo gScalarInfo[] = { | |
910 {0, 16, 98, 1} | |
911 }; | |
912 | |
913 static const char gScaleStrings[] = | |
914 "center\0" | |
915 "x\0" | |
916 "y" | |
917 ; | |
918 | |
919 static const SkMemberInfo gScaleInfo[] = { | |
920 {0, 28, 77, 2}, | |
921 {7, 20, 98, 1}, | |
922 {9, 24, 98, 1} | |
923 }; | |
924 | |
925 static const char gSetStrings[] = | |
926 "begin\0" | |
927 "dur\0" | |
928 "dynamic\0" | |
929 "field\0" | |
930 "formula\0" | |
931 "reset\0" | |
932 "target\0" | |
933 "to" | |
934 ; | |
935 | |
936 static const SkMemberInfo gSetInfo[] = { | |
937 {0, 16, 71, 1}, | |
938 {6, 36, 71, 1}, | |
939 {10, -1, 67, 26}, | |
940 {18, 40, 108, 2}, | |
941 {24, 48, 40, 2}, | |
942 {32, -3, 67, 26}, | |
943 {38, 68, 40, 2}, | |
944 {45, 76, 40, 2} | |
945 }; | |
946 | |
947 static const char gShaderStrings[] = | |
948 "matrix\0" | |
949 "tileMode" | |
950 ; | |
951 | |
952 static const SkMemberInfo gShaderInfo[] = { | |
953 {0, 20, 65, 1}, | |
954 {7, 24, 116, 1} | |
955 }; | |
956 | |
957 static const char gSkewStrings[] = | |
958 "center\0" | |
959 "x\0" | |
960 "y" | |
961 ; | |
962 | |
963 static const SkMemberInfo gSkewInfo[] = { | |
964 {0, 28, 77, 2}, | |
965 {7, 20, 98, 1}, | |
966 {9, 24, 98, 1} | |
967 }; | |
968 | |
969 static const char g3D_CameraStrings[] = | |
970 "axis\0" | |
971 "hackHeight\0" | |
972 "hackWidth\0" | |
973 "location\0" | |
974 "observer\0" | |
975 "patch\0" | |
976 "zenith" | |
977 ; | |
978 | |
979 static const SkMemberInfo g3D_CameraInfo[] = { | |
980 {0, 36, 106, 3}, | |
981 {5, 20, 98, 1}, | |
982 {16, 16, 98, 1}, | |
983 {26, 24, 106, 3}, | |
984 {35, 60, 106, 3}, | |
985 {44, 108, 105, 1}, | |
986 {50, 48, 106, 3} | |
987 }; | |
988 | |
989 static const char g3D_PatchStrings[] = | |
990 "origin\0" | |
991 "rotateDegrees\0" | |
992 "u\0" | |
993 "v" | |
994 ; | |
995 | |
996 static const SkMemberInfo g3D_PatchInfo[] = { | |
997 {0, 40, 106, 3}, | |
998 {7, -1, 66, 98}, | |
999 {21, 16, 106, 3}, | |
1000 {23, 28, 106, 3} | |
1001 }; | |
1002 | |
1003 static const char gUnknown6Strings[] = | |
1004 "x\0" | |
1005 "y\0" | |
1006 "z" | |
1007 ; | |
1008 | |
1009 static const SkMemberInfo gUnknown6Info[] = { | |
1010 {0, 0, 98, 1}, | |
1011 {2, 4, 98, 1}, | |
1012 {4, 8, 98, 1} | |
1013 }; | |
1014 | |
1015 static const char gSnapshotStrings[] = | |
1016 "filename\0" | |
1017 "quality\0" | |
1018 "sequence\0" | |
1019 "type" | |
1020 ; | |
1021 | |
1022 static const SkMemberInfo gSnapshotInfo[] = { | |
1023 {0, 16, 108, 2}, | |
1024 {9, 24, 98, 1}, | |
1025 {17, 28, 26, 1}, | |
1026 {26, 32, 20, 1} | |
1027 }; | |
1028 | |
1029 static const char gStringStrings[] = | |
1030 "length\0" | |
1031 "slice\0" | |
1032 "value" | |
1033 ; | |
1034 | |
1035 static const SkMemberInfo gStringInfo[] = { | |
1036 {0, -1, 67, 96}, | |
1037 {7, -1, 66, 108}, | |
1038 {13, 16, 108, 2} | |
1039 }; | |
1040 | |
1041 static const char gTextStrings[] = | |
1042 "length\0" | |
1043 "text\0" | |
1044 "x\0" | |
1045 "y" | |
1046 ; | |
1047 | |
1048 static const SkMemberInfo gTextInfo[] = { | |
1049 {0, -1, 67, 96}, | |
1050 {7, 24, 108, 2}, | |
1051 {12, 32, 98, 1}, | |
1052 {14, 36, 98, 1} | |
1053 }; | |
1054 | |
1055 static const char gTextBoxStrings[] = | |
1056 "\0" | |
1057 "mode\0" | |
1058 "spacingAdd\0" | |
1059 "spacingAlign\0" | |
1060 "spacingMul\0" | |
1061 "text" | |
1062 ; | |
1063 | |
1064 static const SkMemberInfo gTextBoxInfo[] = { | |
1065 {0, 58, 18, 7}, | |
1066 {1, 60, 113, 1}, | |
1067 {6, 56, 98, 1}, | |
1068 {17, 64, 112, 1}, | |
1069 {30, 52, 98, 1}, | |
1070 {41, 44, 108, 2} | |
1071 }; | |
1072 | |
1073 static const char gTextOnPathStrings[] = | |
1074 "offset\0" | |
1075 "path\0" | |
1076 "text" | |
1077 ; | |
1078 | |
1079 static const SkMemberInfo gTextOnPathInfo[] = { | |
1080 {0, 24, 98, 1}, | |
1081 {7, 28, 74, 1}, | |
1082 {12, 32, 110, 1} | |
1083 }; | |
1084 | |
1085 static const char gTextToPathStrings[] = | |
1086 "path\0" | |
1087 "text" | |
1088 ; | |
1089 | |
1090 static const SkMemberInfo gTextToPathInfo[] = { | |
1091 {0, 16, 74, 1}, | |
1092 {5, 20, 110, 1} | |
1093 }; | |
1094 | |
1095 static const char gTranslateStrings[] = | |
1096 "x\0" | |
1097 "y" | |
1098 ; | |
1099 | |
1100 static const SkMemberInfo gTranslateInfo[] = { | |
1101 {0, 20, 98, 1}, | |
1102 {2, 24, 98, 1} | |
1103 }; | |
1104 | |
1105 static const char gTypedArrayStrings[] = | |
1106 "length\0" | |
1107 "values" | |
1108 ; | |
1109 | |
1110 static const SkMemberInfo gTypedArrayInfo[] = { | |
1111 {0, -1, 67, 96}, | |
1112 {7, 16, 119, 0} | |
1113 }; | |
1114 | |
1115 static const char gTypefaceStrings[] = | |
1116 "fontName" | |
1117 ; | |
1118 | |
1119 static const SkMemberInfo gTypefaceInfo[] = { | |
1120 {0, 20, 108, 2} | |
1121 }; | |
1122 | |
1123 static const SkMemberInfo* const gInfoTables[] = { | |
1124 gMathInfo, | |
1125 gAddInfo, | |
1126 gAddCircleInfo, | |
1127 gUnknown1Info, | |
1128 gAddOvalInfo, | |
1129 gAddPathInfo, | |
1130 gAddRectangleInfo, | |
1131 gAddRoundRectInfo, | |
1132 gUnknown2Info, | |
1133 gAnimateFieldInfo, | |
1134 gApplyInfo, | |
1135 gUnknown3Info, | |
1136 gDrawBitmapInfo, | |
1137 gDrawBitmapShaderInfo, | |
1138 gDrawBlurInfo, | |
1139 gDisplayBoundsInfo, | |
1140 gDrawClipInfo, | |
1141 gDrawColorInfo, | |
1142 gCubicToInfo, | |
1143 gDashInfo, | |
1144 gDataInfo, | |
1145 gDiscreteInfo, | |
1146 gDrawToInfo, | |
1147 gDumpInfo, | |
1148 gDrawEmbossInfo, | |
1149 gDisplayEventInfo, | |
1150 gFromPathInfo, | |
1151 gUnknown4Info, | |
1152 gGInfo, | |
1153 gHitClearInfo, | |
1154 gHitTestInfo, | |
1155 gImageInfo, | |
1156 gIncludeInfo, | |
1157 gInputInfo, | |
1158 gLineInfo, | |
1159 gLineToInfo, | |
1160 gLinearGradientInfo, | |
1161 gDrawMatrixInfo, | |
1162 gMoveInfo, | |
1163 gMoveToInfo, | |
1164 gMovieInfo, | |
1165 gOvalInfo, | |
1166 gDrawPaintInfo, | |
1167 gDrawPathInfo, | |
1168 gUnknown5Info, | |
1169 gDrawPointInfo, | |
1170 gPolyToPolyInfo, | |
1171 gPolygonInfo, | |
1172 gPolylineInfo, | |
1173 gPostInfo, | |
1174 gQuadToInfo, | |
1175 gRCubicToInfo, | |
1176 gRLineToInfo, | |
1177 gRMoveToInfo, | |
1178 gRQuadToInfo, | |
1179 gRadialGradientInfo, | |
1180 gDisplayRandomInfo, | |
1181 gRectToRectInfo, | |
1182 gRectangleInfo, | |
1183 gRemoveInfo, | |
1184 gReplaceInfo, | |
1185 gRotateInfo, | |
1186 gRoundRectInfo, | |
1187 gS32Info, | |
1188 gScalarInfo, | |
1189 gScaleInfo, | |
1190 gSetInfo, | |
1191 gShaderInfo, | |
1192 gSkewInfo, | |
1193 g3D_CameraInfo, | |
1194 g3D_PatchInfo, | |
1195 gUnknown6Info, | |
1196 gSnapshotInfo, | |
1197 gStringInfo, | |
1198 gTextInfo, | |
1199 gTextBoxInfo, | |
1200 gTextOnPathInfo, | |
1201 gTextToPathInfo, | |
1202 gTranslateInfo, | |
1203 gTypedArrayInfo, | |
1204 gTypefaceInfo, | |
1205 }; | |
1206 | |
1207 static const unsigned char gInfoCounts[] = { | |
1208 26,4,4,1,1,2,5,3,13,1,13,2,6,3,2,2,2,8,6, | |
1209 2,2,2,2,6,4,8,3,3,2,1,4,3,1,3,4,2,2,12,1, | |
1210 2,1,1,25,3,3,2,2,1,1,6,4,1,1,1,1,3,5,2,7, | |
1211 2,1,2,3,1,1,3,8,2,3,7,4,3,4,3,4,6,3,2,2, | |
1212 2,1 | |
1213 }; | |
1214 | |
1215 static const unsigned char gTypeIDs[] = { | |
1216 1, // Math | |
1217 2, // Add | |
1218 3, // AddCircle | |
1219 4, // Unknown1 | |
1220 5, // AddOval | |
1221 6, // AddPath | |
1222 7, // AddRectangle | |
1223 8, // AddRoundRect | |
1224 10, // Unknown2 | |
1225 11, // AnimateField | |
1226 12, // Apply | |
1227 17, // Unknown3 | |
1228 19, // Bitmap | |
1229 22, // BitmapShader | |
1230 23, // Blur | |
1231 25, // Bounds | |
1232 29, // Clip | |
1233 31, // Color | |
1234 32, // CubicTo | |
1235 33, // Dash | |
1236 34, // Data | |
1237 35, // Discrete | |
1238 38, // DrawTo | |
1239 39, // Dump | |
1240 41, // Emboss | |
1241 42, // Event | |
1242 48, // FromPath | |
1243 51, // Unknown4 | |
1244 52, // G | |
1245 53, // HitClear | |
1246 54, // HitTest | |
1247 55, // Image | |
1248 56, // Include | |
1249 57, // Input | |
1250 59, // Line | |
1251 60, // LineTo | |
1252 61, // LinearGradient | |
1253 65, // Matrix | |
1254 68, // Move | |
1255 69, // MoveTo | |
1256 70, // Movie | |
1257 72, // Oval | |
1258 73, // Paint | |
1259 74, // Path | |
1260 77, // Unknown5 | |
1261 78, // Point | |
1262 79, // PolyToPoly | |
1263 80, // Polygon | |
1264 81, // Polyline | |
1265 82, // Post | |
1266 83, // QuadTo | |
1267 84, // RCubicTo | |
1268 85, // RLineTo | |
1269 86, // RMoveTo | |
1270 87, // RQuadTo | |
1271 88, // RadialGradient | |
1272 89, // Random | |
1273 90, // RectToRect | |
1274 91, // Rectangle | |
1275 92, // Remove | |
1276 93, // Replace | |
1277 94, // Rotate | |
1278 95, // RoundRect | |
1279 96, // S32 | |
1280 98, // Scalar | |
1281 99, // Scale | |
1282 101, // Set | |
1283 102, // Shader | |
1284 103, // Skew | |
1285 104, // 3D_Camera | |
1286 105, // 3D_Patch | |
1287 106, // Unknown6 | |
1288 107, // Snapshot | |
1289 108, // String | |
1290 110, // Text | |
1291 111, // TextBox | |
1292 114, // TextOnPath | |
1293 115, // TextToPath | |
1294 117, // Translate | |
1295 119, // TypedArray | |
1296 120, // Typeface | |
1297 | |
1298 }; | |
1299 | |
1300 static const int kTypeIDs = 81; | |
1301 | |
1302 static const char* const gInfoNames[] = { | |
1303 gMathStrings, | |
1304 gAddStrings, | |
1305 gAddCircleStrings, | |
1306 gUnknown1Strings, | |
1307 gAddOvalStrings, | |
1308 gAddPathStrings, | |
1309 gAddRectangleStrings, | |
1310 gAddRoundRectStrings, | |
1311 gUnknown2Strings, | |
1312 gAnimateFieldStrings, | |
1313 gApplyStrings, | |
1314 gUnknown3Strings, | |
1315 gBitmapStrings, | |
1316 gBitmapShaderStrings, | |
1317 gBlurStrings, | |
1318 gBoundsStrings, | |
1319 gClipStrings, | |
1320 gColorStrings, | |
1321 gCubicToStrings, | |
1322 gDashStrings, | |
1323 gDataStrings, | |
1324 gDiscreteStrings, | |
1325 gDrawToStrings, | |
1326 gDumpStrings, | |
1327 gEmbossStrings, | |
1328 gEventStrings, | |
1329 gFromPathStrings, | |
1330 gUnknown4Strings, | |
1331 gGStrings, | |
1332 gHitClearStrings, | |
1333 gHitTestStrings, | |
1334 gImageStrings, | |
1335 gIncludeStrings, | |
1336 gInputStrings, | |
1337 gLineStrings, | |
1338 gLineToStrings, | |
1339 gLinearGradientStrings, | |
1340 gMatrixStrings, | |
1341 gMoveStrings, | |
1342 gMoveToStrings, | |
1343 gMovieStrings, | |
1344 gOvalStrings, | |
1345 gPaintStrings, | |
1346 gPathStrings, | |
1347 gUnknown5Strings, | |
1348 gPointStrings, | |
1349 gPolyToPolyStrings, | |
1350 gPolygonStrings, | |
1351 gPolylineStrings, | |
1352 gPostStrings, | |
1353 gQuadToStrings, | |
1354 gRCubicToStrings, | |
1355 gRLineToStrings, | |
1356 gRMoveToStrings, | |
1357 gRQuadToStrings, | |
1358 gRadialGradientStrings, | |
1359 gRandomStrings, | |
1360 gRectToRectStrings, | |
1361 gRectangleStrings, | |
1362 gRemoveStrings, | |
1363 gReplaceStrings, | |
1364 gRotateStrings, | |
1365 gRoundRectStrings, | |
1366 gS32Strings, | |
1367 gScalarStrings, | |
1368 gScaleStrings, | |
1369 gSetStrings, | |
1370 gShaderStrings, | |
1371 gSkewStrings, | |
1372 g3D_CameraStrings, | |
1373 g3D_PatchStrings, | |
1374 gUnknown6Strings, | |
1375 gSnapshotStrings, | |
1376 gStringStrings, | |
1377 gTextStrings, | |
1378 gTextBoxStrings, | |
1379 gTextOnPathStrings, | |
1380 gTextToPathStrings, | |
1381 gTranslateStrings, | |
1382 gTypedArrayStrings, | |
1383 gTypefaceStrings | |
1384 }; | |
1385 | |
1386 #endif | |
1387 #endif | |
OLD | NEW |