blob: 1222496051b69f105edae85f38b2aebb6ba65e68 [file] [log] [blame]
epoger@google.comec3ed6a2011-07-28 14:26:00 +00001
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
reed@android.com8a1c16f2008-12-17 15:59:43 +00009
10#include "SkTypes.h"
11#ifndef SK_BUILD_FOR_UNIX
12#ifdef SK_RELEASE
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
rmistry@google.comd6176b02012-08-23 18:14:13 +000017static const char gMathStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +000018 "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
46static 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
rmistry@google.comd6176b02012-08-23 18:14:13 +000075static const char gAddStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +000076 "inPlace\0"
77 "offset\0"
78 "use\0"
79 "where"
80;
81
82static const SkMemberInfo gAddInfo[] = {
83 {0, 4, 26, 1},
84 {8, 8, 96, 1},
85 {15, 12, 37, 1},
86 {19, 16, 37, 1}
87};
88
rmistry@google.comd6176b02012-08-23 18:14:13 +000089static const char gAddCircleStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +000090 "\0"
91 "radius\0"
92 "x\0"
93 "y"
94;
95
96static const SkMemberInfo gAddCircleInfo[] = {
97 {0, 3, 18, 1},
98 {1, 12, 98, 1},
99 {8, 16, 98, 1},
100 {10, 20, 98, 1}
101};
102
rmistry@google.comd6176b02012-08-23 18:14:13 +0000103static const char gUnknown1Strings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000104 "direction"
105;
106
107static const SkMemberInfo gUnknown1Info[] = {
108 {0, 8, 75, 1}
109};
110
rmistry@google.comd6176b02012-08-23 18:14:13 +0000111static const char gAddOvalStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000112 ""
113;
114
115static const SkMemberInfo gAddOvalInfo[] = {
116 {0, 6, 18, 5}
117};
118
rmistry@google.comd6176b02012-08-23 18:14:13 +0000119static const char gAddPathStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000120 "matrix\0"
121 "path"
122;
123
124static const SkMemberInfo gAddPathInfo[] = {
125 {0, 8, 65, 1},
126 {7, 12, 74, 1}
127};
128
rmistry@google.comd6176b02012-08-23 18:14:13 +0000129static const char gAddRectangleStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000130 "\0"
131 "bottom\0"
132 "left\0"
133 "right\0"
134 "top"
135;
136
137static const SkMemberInfo gAddRectangleInfo[] = {
138 {0, 3, 18, 1},
139 {1, 24, 98, 1},
140 {8, 12, 98, 1},
141 {13, 20, 98, 1},
142 {19, 16, 98, 1}
143};
144
rmistry@google.comd6176b02012-08-23 18:14:13 +0000145static const char gAddRoundRectStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000146 "\0"
147 "rx\0"
148 "ry"
149;
150
151static const SkMemberInfo gAddRoundRectInfo[] = {
152 {0, 6, 18, 5},
153 {1, 28, 98, 1},
154 {4, 32, 98, 1}
155};
156
rmistry@google.comd6176b02012-08-23 18:14:13 +0000157static const char gUnknown2Strings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000158 "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
173static const SkMemberInfo gUnknown2Info[] = {
174 {0, 4, 71, 1},
175 {6, 8, 119, 98},
176 {12, 16, 71, 1},
177 {16, -1, 67, 26},
178 {24, 20, 108, 1},
179 {30, 24, 40, 1},
180 {38, 28, 40, 1},
181 {43, -2, 67, 26},
182 {50, 32, 98, 1},
183 {57, -3, 67, 26},
184 {63, 36, 40, 1},
185 {70, 40, 40, 1},
186 {73, -4, 67, 40}
187};
188
rmistry@google.comd6176b02012-08-23 18:14:13 +0000189static const char gAnimateFieldStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000190 ""
191;
192
193static const SkMemberInfo gAnimateFieldInfo[] = {
194 {0, 8, 18, 13}
195};
196
rmistry@google.comd6176b02012-08-23 18:14:13 +0000197static const char gApplyStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000198 "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
213static const SkMemberInfo gApplyInfo[] = {
214 {0, -1, 67, 10},
215 {9, 4, 71, 1},
216 {15, 8, 26, 1},
217 {24, 12, 108, 1},
218 {37, 16, 71, 1},
219 {46, 20, 13, 1},
220 {51, 24, 26, 1},
221 {58, 28, 26, 1},
222 {66, 32, 37, 1},
223 {72, -2, 67, 96},
224 {77, 36, 96, 1},
225 {83, -3, 67, 71},
226 {88, 40, 14, 1}
227};
228
rmistry@google.comd6176b02012-08-23 18:14:13 +0000229static const char gUnknown3Strings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000230 "x\0"
231 "y"
232;
233
234static const SkMemberInfo gUnknown3Info[] = {
235 {0, 36, 98, 1},
236 {2, 40, 98, 1}
237};
238
rmistry@google.comd6176b02012-08-23 18:14:13 +0000239static const char gBitmapStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000240 "\0"
241 "erase\0"
242 "format\0"
243 "height\0"
244 "rowBytes\0"
245 "width"
246;
247
248static const SkMemberInfo gDrawBitmapInfo[] = {
249 {0, 11, 18, 2},
250 {1, -1, 67, 15},
251 {7, 44, 21, 1},
252 {14, 48, 96, 1},
253 {21, 52, 96, 1},
254 {30, 56, 96, 1}
255};
256
rmistry@google.comd6176b02012-08-23 18:14:13 +0000257static const char gBitmapShaderStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000258 "\0"
259 "filterType\0"
260 "image"
261;
262
263static const SkMemberInfo gDrawBitmapShaderInfo[] = {
264 {0, 66, 18, 2},
265 {1, 16, 47, 1},
266 {12, 20, 17, 1}
267};
268
rmistry@google.comd6176b02012-08-23 18:14:13 +0000269static const char gBlurStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000270 "blurStyle\0"
271 "radius"
272;
273
274static const SkMemberInfo gDrawBlurInfo[] = {
275 {0, 12, 63, 1},
276 {10, 8, 98, 1}
277};
278
rmistry@google.comd6176b02012-08-23 18:14:13 +0000279static const char gBoundsStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000280 "\0"
281 "inval"
282;
283
284static const SkMemberInfo gDisplayBoundsInfo[] = {
285 {0, 57, 18, 7},
286 {1, 32, 26, 1}
287};
288
rmistry@google.comd6176b02012-08-23 18:14:13 +0000289static const char gClipStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000290 "path\0"
291 "rectangle"
292;
293
294static const SkMemberInfo gDrawClipInfo[] = {
295 {0, 8, 74, 1},
296 {5, 4, 91, 1}
297};
298
rmistry@google.comd6176b02012-08-23 18:14:13 +0000299static const char gColorStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000300 "alpha\0"
301 "blue\0"
302 "color\0"
303 "green\0"
304 "hue\0"
305 "red\0"
306 "saturation\0"
307 "value"
308;
309
310static const SkMemberInfo gDrawColorInfo[] = {
311 {0, -1, 67, 98},
312 {6, -2, 67, 98},
313 {11, 8, 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
rmistry@google.comd6176b02012-08-23 18:14:13 +0000321static const char gCubicToStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000322 "x1\0"
323 "x2\0"
324 "x3\0"
325 "y1\0"
326 "y2\0"
327 "y3"
328;
329
330static const SkMemberInfo gCubicToInfo[] = {
331 {0, 8, 98, 1},
332 {3, 16, 98, 1},
333 {6, 24, 98, 1},
334 {9, 12, 98, 1},
335 {12, 20, 98, 1},
336 {15, 28, 98, 1}
337};
338
rmistry@google.comd6176b02012-08-23 18:14:13 +0000339static const char gDashStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000340 "intervals\0"
341 "phase"
342;
343
344static const SkMemberInfo gDashInfo[] = {
345 {0, 8, 119, 98},
346 {10, 16, 98, 1}
347};
348
rmistry@google.comd6176b02012-08-23 18:14:13 +0000349static const char gDataStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000350 "\0"
351 "name"
352;
353
354static const SkMemberInfo gDataInfo[] = {
355 {0, 32, 18, 3},
356 {1, 16, 108, 1}
357};
358
rmistry@google.comd6176b02012-08-23 18:14:13 +0000359static const char gDiscreteStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000360 "deviation\0"
361 "segLength"
362;
363
364static const SkMemberInfo gDiscreteInfo[] = {
365 {0, 8, 98, 1},
366 {10, 12, 98, 1}
367};
368
rmistry@google.comd6176b02012-08-23 18:14:13 +0000369static const char gDrawToStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000370 "drawOnce\0"
371 "use"
372;
373
374static const SkMemberInfo gDrawToInfo[] = {
375 {0, 36, 26, 1},
376 {9, 40, 19, 1}
377};
378
rmistry@google.comd6176b02012-08-23 18:14:13 +0000379static const char gEmbossStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000380 "ambient\0"
381 "direction\0"
382 "radius\0"
383 "specular"
384;
385
386static const SkMemberInfo gDrawEmbossInfo[] = {
387 {0, -1, 67, 98},
388 {8, 8, 119, 98},
389 {18, 16, 98, 1},
390 {25, -2, 67, 98}
391};
392
rmistry@google.comd6176b02012-08-23 18:14:13 +0000393static const char gEventStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000394 "code\0"
395 "disable\0"
396 "key\0"
397 "keys\0"
398 "kind\0"
399 "target\0"
400 "x\0"
401 "y"
402;
403
404static const SkMemberInfo gDisplayEventInfo[] = {
405 {0, 4, 43, 1},
406 {5, 8, 26, 1},
407 {13, -1, 67, 108},
408 {17, -2, 67, 108},
409 {22, 12, 44, 1},
410 {27, 16, 108, 1},
411 {34, 20, 98, 1},
412 {36, 24, 98, 1}
413};
414
rmistry@google.comd6176b02012-08-23 18:14:13 +0000415static const char gFromPathStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000416 "mode\0"
417 "offset\0"
418 "path"
419;
420
421static const SkMemberInfo gFromPathInfo[] = {
422 {0, 8, 49, 1},
423 {5, 12, 98, 1},
424 {12, 16, 74, 1}
425};
426
rmistry@google.comd6176b02012-08-23 18:14:13 +0000427static const char gUnknown4Strings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000428 "\0"
429 "offsets\0"
430 "unitMapper"
431;
432
433static const SkMemberInfo gUnknown4Info[] = {
434 {0, 66, 18, 2},
435 {1, 16, 119, 98},
436 {9, 24, 108, 1}
437};
438
rmistry@google.comd6176b02012-08-23 18:14:13 +0000439static const char gGStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000440 "condition\0"
441 "enableCondition"
442;
443
444static const SkMemberInfo gGInfo[] = {
445 {0, 4, 40, 1},
446 {10, 8, 40, 1}
447};
448
rmistry@google.comd6176b02012-08-23 18:14:13 +0000449static const char gHitClearStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000450 "targets"
451;
452
453static const SkMemberInfo gHitClearInfo[] = {
454 {0, 4, 119, 36}
455};
456
rmistry@google.comd6176b02012-08-23 18:14:13 +0000457static const char gHitTestStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000458 "bullets\0"
459 "hits\0"
460 "targets\0"
461 "value"
462;
463
464static const SkMemberInfo gHitTestInfo[] = {
465 {0, 4, 119, 36},
466 {8, 12, 119, 96},
467 {13, 20, 119, 36},
468 {21, 28, 26, 1}
469};
470
rmistry@google.comd6176b02012-08-23 18:14:13 +0000471static const char gImageStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000472 "\0"
473 "base64\0"
474 "src"
475;
476
477static const SkMemberInfo gImageInfo[] = {
478 {0, 11, 18, 2},
479 {1, 44, 16, 2},
480 {8, 52, 108, 1}
481};
482
rmistry@google.comd6176b02012-08-23 18:14:13 +0000483static const char gIncludeStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000484 "src"
485;
486
487static const SkMemberInfo gIncludeInfo[] = {
488 {0, 4, 108, 1}
489};
490
rmistry@google.comd6176b02012-08-23 18:14:13 +0000491static const char gInputStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000492 "s32\0"
493 "scalar\0"
494 "string"
495;
496
497static const SkMemberInfo gInputInfo[] = {
498 {0, 4, 96, 1},
499 {4, 8, 98, 1},
500 {11, 12, 108, 1}
501};
502
rmistry@google.comd6176b02012-08-23 18:14:13 +0000503static const char gLineStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000504 "x1\0"
505 "x2\0"
506 "y1\0"
507 "y2"
508;
509
510static const SkMemberInfo gLineInfo[] = {
511 {0, 12, 98, 1},
512 {3, 16, 98, 1},
513 {6, 20, 98, 1},
514 {9, 24, 98, 1}
515};
516
rmistry@google.comd6176b02012-08-23 18:14:13 +0000517static const char gLineToStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000518 "x\0"
519 "y"
520;
521
522static const SkMemberInfo gLineToInfo[] = {
523 {0, 8, 98, 1},
524 {2, 12, 98, 1}
525};
526
rmistry@google.comd6176b02012-08-23 18:14:13 +0000527static const char gLinearGradientStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000528 "\0"
529 "points"
530;
531
532static const SkMemberInfo gLinearGradientInfo[] = {
533 {0, 26, 18, 3},
534 {1, 48, 77, 4}
535};
536
rmistry@google.comd6176b02012-08-23 18:14:13 +0000537static const char gMatrixStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000538 "matrix\0"
539 "perspectX\0"
540 "perspectY\0"
541 "rotate\0"
542 "scale\0"
543 "scaleX\0"
544 "scaleY\0"
545 "skewX\0"
546 "skewY\0"
547 "translate\0"
548 "translateX\0"
549 "translateY"
550;
551
552static const SkMemberInfo gDrawMatrixInfo[] = {
553 {0, 4, 119, 98},
554 {7, -1, 67, 98},
555 {17, -2, 67, 98},
556 {27, -3, 67, 98},
557 {34, -4, 67, 98},
558 {40, -5, 67, 98},
559 {47, -6, 67, 98},
560 {54, -7, 67, 98},
561 {60, -8, 67, 98},
562 {66, -9, 67, 77},
563 {76, -10, 67, 98},
564 {87, -11, 67, 98}
565};
566
rmistry@google.comd6176b02012-08-23 18:14:13 +0000567static const char gMoveStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000568 ""
569;
570
571static const SkMemberInfo gMoveInfo[] = {
572 {0, 1, 18, 4}
573};
574
rmistry@google.comd6176b02012-08-23 18:14:13 +0000575static const char gMoveToStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000576 "x\0"
577 "y"
578;
579
580static const SkMemberInfo gMoveToInfo[] = {
581 {0, 8, 98, 1},
582 {2, 12, 98, 1}
583};
584
rmistry@google.comd6176b02012-08-23 18:14:13 +0000585static const char gMovieStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000586 "src"
587;
588
589static const SkMemberInfo gMovieInfo[] = {
590 {0, 4, 108, 1}
591};
592
rmistry@google.comd6176b02012-08-23 18:14:13 +0000593static const char gOvalStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000594 ""
595;
596
597static const SkMemberInfo gOvalInfo[] = {
598 {0, 57, 18, 7}
599};
600
rmistry@google.comd6176b02012-08-23 18:14:13 +0000601static const char gPaintStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000602 "antiAlias\0"
603 "ascent\0"
604 "color\0"
605 "descent\0"
606 "filterType\0"
607 "linearText\0"
608 "maskFilter\0"
609 "measureText\0"
610 "pathEffect\0"
611 "shader\0"
612 "strikeThru\0"
613 "stroke\0"
614 "strokeCap\0"
615 "strokeJoin\0"
616 "strokeMiter\0"
617 "strokeWidth\0"
618 "style\0"
619 "textAlign\0"
620 "textScaleX\0"
621 "textSize\0"
622 "textSkewX\0"
623 "textTracking\0"
624 "typeface\0"
625 "underline\0"
626 "xfermode"
627;
628
629static const SkMemberInfo gDrawPaintInfo[] = {
630 {0, 4, 26, 1},
631 {10, -1, 67, 98},
632 {17, 8, 31, 1},
633 {23, -2, 67, 98},
634 {31, 12, 47, 1},
635 {42, 16, 26, 1},
636 {53, 20, 62, 1},
637 {64, -1, 66, 98},
638 {76, 24, 76, 1},
639 {87, 28, 102, 1},
640 {94, 32, 26, 1},
641 {105, 36, 26, 1},
642 {112, 40, 27, 1},
643 {122, 44, 58, 1},
644 {133, 48, 98, 1},
645 {145, 52, 98, 1},
646 {157, 56, 109, 1},
647 {163, 60, 9, 1},
648 {173, 64, 98, 1},
649 {184, 68, 98, 1},
650 {193, 72, 98, 1},
651 {203, 76, 98, 1},
652 {216, 80, 120, 1},
653 {225, 84, 26, 1},
654 {235, 88, 121, 1}
655};
656
rmistry@google.comd6176b02012-08-23 18:14:13 +0000657static const char gPathStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000658 "d\0"
659 "fillType\0"
660 "length"
661;
662
663static const SkMemberInfo gDrawPathInfo[] = {
664 {0, 32, 108, 1},
665 {2, -1, 67, 46},
666 {11, -2, 67, 98}
667};
668
rmistry@google.comd6176b02012-08-23 18:14:13 +0000669static const char gUnknown5Strings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000670 "x\0"
671 "y\0"
672 "z"
673;
674
675static const SkMemberInfo gUnknown5Info[] = {
676 {0, 0, 98, 1},
677 {2, 4, 98, 1},
678 {4, 8, 98, 1}
679};
680
rmistry@google.comd6176b02012-08-23 18:14:13 +0000681static const char gPointStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000682 "x\0"
683 "y"
684;
685
686static const SkMemberInfo gDrawPointInfo[] = {
687 {0, 4, 98, 1},
688 {2, 8, 98, 1}
689};
690
rmistry@google.comd6176b02012-08-23 18:14:13 +0000691static const char gPolyToPolyStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000692 "destination\0"
693 "source"
694;
695
696static const SkMemberInfo gPolyToPolyInfo[] = {
697 {0, 12, 80, 1},
698 {12, 8, 80, 1}
699};
700
rmistry@google.comd6176b02012-08-23 18:14:13 +0000701static const char gPolygonStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000702 ""
703;
704
705static const SkMemberInfo gPolygonInfo[] = {
706 {0, 47, 18, 1}
707};
708
rmistry@google.comd6176b02012-08-23 18:14:13 +0000709static const char gPolylineStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000710 "points"
711;
712
713static const SkMemberInfo gPolylineInfo[] = {
714 {0, 56, 119, 98}
715};
716
rmistry@google.comd6176b02012-08-23 18:14:13 +0000717static const char gPostStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000718 "delay\0"
719 "initialized\0"
720 "mode\0"
721 "sink\0"
722 "target\0"
723 "type"
724;
725
726static const SkMemberInfo gPostInfo[] = {
727 {0, 4, 71, 1},
728 {6, 8, 26, 1},
729 {18, 12, 45, 1},
730 {23, -1, 67, 108},
731 {28, -2, 67, 108},
732 {35, -3, 67, 108}
733};
734
rmistry@google.comd6176b02012-08-23 18:14:13 +0000735static const char gQuadToStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000736 "x1\0"
737 "x2\0"
738 "y1\0"
739 "y2"
740;
741
742static const SkMemberInfo gQuadToInfo[] = {
743 {0, 8, 98, 1},
744 {3, 16, 98, 1},
745 {6, 12, 98, 1},
746 {9, 20, 98, 1}
747};
748
rmistry@google.comd6176b02012-08-23 18:14:13 +0000749static const char gRCubicToStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000750 ""
751;
752
753static const SkMemberInfo gRCubicToInfo[] = {
754 {0, 18, 18, 6}
755};
756
rmistry@google.comd6176b02012-08-23 18:14:13 +0000757static const char gRLineToStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000758 ""
759;
760
761static const SkMemberInfo gRLineToInfo[] = {
762 {0, 34, 18, 2}
763};
764
rmistry@google.comd6176b02012-08-23 18:14:13 +0000765static const char gRMoveToStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000766 ""
767;
768
769static const SkMemberInfo gRMoveToInfo[] = {
770 {0, 38, 18, 2}
771};
772
rmistry@google.comd6176b02012-08-23 18:14:13 +0000773static const char gRQuadToStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000774 ""
775;
776
777static const SkMemberInfo gRQuadToInfo[] = {
778 {0, 49, 18, 4}
779};
780
rmistry@google.comd6176b02012-08-23 18:14:13 +0000781static const char gRadialGradientStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000782 "\0"
783 "center\0"
784 "radius"
785;
786
787static const SkMemberInfo gRadialGradientInfo[] = {
788 {0, 26, 18, 3},
789 {1, 48, 77, 2},
790 {8, 56, 98, 1}
791};
792
rmistry@google.comd6176b02012-08-23 18:14:13 +0000793static const char gRandomStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000794 "blend\0"
795 "max\0"
796 "min\0"
797 "random\0"
798 "seed"
799;
800
801static const SkMemberInfo gDisplayRandomInfo[] = {
802 {0, 4, 98, 1},
803 {6, 12, 98, 1},
804 {10, 8, 98, 1},
805 {14, 1, 67, 98},
806 {21, -2, 67, 96}
807};
808
rmistry@google.comd6176b02012-08-23 18:14:13 +0000809static const char gRectToRectStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000810 "destination\0"
811 "source"
812;
813
814static const SkMemberInfo gRectToRectInfo[] = {
815 {0, 12, 91, 1},
816 {12, 8, 91, 1}
817};
818
rmistry@google.comd6176b02012-08-23 18:14:13 +0000819static const char gRectangleStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000820 "bottom\0"
821 "height\0"
822 "left\0"
823 "needsRedraw\0"
824 "right\0"
825 "top\0"
826 "width"
827;
828
829static const SkMemberInfo gRectangleInfo[] = {
830 {0, 24, 98, 1},
831 {7, -1, 67, 98},
832 {14, 12, 98, 1},
833 {19, -2, 67, 26},
834 {31, 20, 98, 1},
835 {37, 16, 98, 1},
836 {41, -3, 67, 98}
837};
838
rmistry@google.comd6176b02012-08-23 18:14:13 +0000839static const char gRemoveStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000840 "offset\0"
841 "where"
842;
843
844static const SkMemberInfo gRemoveInfo[] = {
845 {0, 8, 96, 1},
846 {7, 16, 37, 1}
847};
848
rmistry@google.comd6176b02012-08-23 18:14:13 +0000849static const char gReplaceStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000850 ""
851;
852
853static const SkMemberInfo gReplaceInfo[] = {
854 {0, 1, 18, 4}
855};
856
rmistry@google.comd6176b02012-08-23 18:14:13 +0000857static const char gRotateStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000858 "center\0"
859 "degrees"
860;
861
862static const SkMemberInfo gRotateInfo[] = {
863 {0, 12, 77, 2},
864 {7, 8, 98, 1}
865};
866
rmistry@google.comd6176b02012-08-23 18:14:13 +0000867static const char gRoundRectStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000868 "\0"
869 "rx\0"
870 "ry"
871;
872
873static const SkMemberInfo gRoundRectInfo[] = {
874 {0, 57, 18, 7},
875 {1, 32, 98, 1},
876 {4, 36, 98, 1}
877};
878
rmistry@google.comd6176b02012-08-23 18:14:13 +0000879static const char gS32Strings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000880 "value"
881;
882
883static const SkMemberInfo gS32Info[] = {
884 {0, 4, 96, 1}
885};
886
rmistry@google.comd6176b02012-08-23 18:14:13 +0000887static const char gScalarStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000888 "value"
889;
890
891static const SkMemberInfo gScalarInfo[] = {
892 {0, 4, 98, 1}
893};
894
rmistry@google.comd6176b02012-08-23 18:14:13 +0000895static const char gScaleStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000896 "center\0"
897 "x\0"
898 "y"
899;
900
901static const SkMemberInfo gScaleInfo[] = {
902 {0, 16, 77, 2},
903 {7, 8, 98, 1},
904 {9, 12, 98, 1}
905};
906
rmistry@google.comd6176b02012-08-23 18:14:13 +0000907static const char gSetStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000908 "begin\0"
909 "dur\0"
910 "dynamic\0"
911 "field\0"
912 "formula\0"
913 "reset\0"
914 "target\0"
915 "to"
916;
917
918static const SkMemberInfo gSetInfo[] = {
919 {0, 4, 71, 1},
920 {6, 16, 71, 1},
921 {10, -1, 67, 26},
922 {18, 20, 108, 1},
923 {24, 24, 40, 1},
924 {32, -3, 67, 26},
925 {38, 36, 40, 1},
926 {45, 40, 40, 1}
927};
928
rmistry@google.comd6176b02012-08-23 18:14:13 +0000929static const char gShaderStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000930 "matrix\0"
931 "tileMode"
932;
933
934static const SkMemberInfo gShaderInfo[] = {
935 {0, 8, 65, 1},
936 {7, 12, 116, 1}
937};
938
rmistry@google.comd6176b02012-08-23 18:14:13 +0000939static const char gSkewStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000940 "center\0"
941 "x\0"
942 "y"
943;
944
945static const SkMemberInfo gSkewInfo[] = {
946 {0, 16, 77, 2},
947 {7, 8, 98, 1},
948 {9, 12, 98, 1}
949};
950
rmistry@google.comd6176b02012-08-23 18:14:13 +0000951static const char g3D_CameraStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000952 "axis\0"
953 "hackHeight\0"
954 "hackWidth\0"
955 "location\0"
956 "observer\0"
957 "patch\0"
958 "zenith"
959;
960
961static const SkMemberInfo g3D_CameraInfo[] = {
962 {0, 24, 106, 3},
963 {5, 8, 98, 1},
964 {16, 4, 98, 1},
965 {26, 12, 106, 3},
966 {35, 48, 106, 3},
967 {44, 96, 105, 1},
968 {50, 36, 106, 3}
969};
970
rmistry@google.comd6176b02012-08-23 18:14:13 +0000971static const char g3D_PatchStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000972 "origin\0"
973 "rotateDegrees\0"
974 "u\0"
975 "v"
976;
977
978static const SkMemberInfo g3D_PatchInfo[] = {
979 {0, 28, 106, 3},
980 {7, -1, 66, 98},
981 {21, 4, 106, 3},
982 {23, 16, 106, 3}
983};
984
rmistry@google.comd6176b02012-08-23 18:14:13 +0000985static const char gUnknown6Strings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000986 "x\0"
987 "y\0"
988 "z"
989;
990
991static const SkMemberInfo gUnknown6Info[] = {
992 {0, 0, 98, 1},
993 {2, 4, 98, 1},
994 {4, 8, 98, 1}
995};
996
rmistry@google.comd6176b02012-08-23 18:14:13 +0000997static const char gSnapshotStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +0000998 "filename\0"
999 "quality\0"
1000 "sequence\0"
1001 "type"
1002;
1003
1004static const SkMemberInfo gSnapshotInfo[] = {
1005 {0, 4, 108, 1},
1006 {9, 8, 98, 1},
1007 {17, 12, 26, 1},
1008 {26, 16, 20, 1}
1009};
1010
rmistry@google.comd6176b02012-08-23 18:14:13 +00001011static const char gStringStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +00001012 "length\0"
1013 "slice\0"
1014 "value"
1015;
1016
1017static const SkMemberInfo gStringInfo[] = {
1018 {0, -1, 67, 96},
1019 {7, -1, 66, 108},
1020 {13, 4, 108, 1}
1021};
1022
rmistry@google.comd6176b02012-08-23 18:14:13 +00001023static const char gTextStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +00001024 "length\0"
1025 "text\0"
1026 "x\0"
1027 "y"
1028;
1029
1030static const SkMemberInfo gTextInfo[] = {
1031 {0, -1, 67, 96},
1032 {7, 12, 108, 1},
1033 {12, 16, 98, 1},
1034 {14, 20, 98, 1}
1035};
1036
rmistry@google.comd6176b02012-08-23 18:14:13 +00001037static const char gTextBoxStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +00001038 "\0"
1039 "mode\0"
1040 "spacingAdd\0"
1041 "spacingAlign\0"
1042 "spacingMul\0"
1043 "text"
1044;
1045
1046static const SkMemberInfo gTextBoxInfo[] = {
1047 {0, 57, 18, 7},
1048 {1, 44, 113, 1},
1049 {6, 40, 98, 1},
1050 {17, 48, 112, 1},
1051 {30, 36, 98, 1},
1052 {41, 32, 108, 1}
1053};
1054
rmistry@google.comd6176b02012-08-23 18:14:13 +00001055static const char gTextOnPathStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +00001056 "offset\0"
1057 "path\0"
1058 "text"
1059;
1060
1061static const SkMemberInfo gTextOnPathInfo[] = {
1062 {0, 12, 98, 1},
1063 {7, 16, 74, 1},
1064 {12, 20, 110, 1}
1065};
1066
rmistry@google.comd6176b02012-08-23 18:14:13 +00001067static const char gTextToPathStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +00001068 "path\0"
1069 "text"
1070;
1071
1072static const SkMemberInfo gTextToPathInfo[] = {
1073 {0, 4, 74, 1},
1074 {5, 8, 110, 1}
1075};
1076
rmistry@google.comd6176b02012-08-23 18:14:13 +00001077static const char gTranslateStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +00001078 "x\0"
1079 "y"
1080;
1081
1082static const SkMemberInfo gTranslateInfo[] = {
1083 {0, 8, 98, 1},
1084 {2, 12, 98, 1}
1085};
1086
rmistry@google.comd6176b02012-08-23 18:14:13 +00001087static const char gTypedArrayStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +00001088 "length\0"
1089 "values"
1090;
1091
1092static const SkMemberInfo gTypedArrayInfo[] = {
1093 {0, -1, 67, 96},
1094 {7, 4, 119, 0}
1095};
1096
rmistry@google.comd6176b02012-08-23 18:14:13 +00001097static const char gTypefaceStrings[] =
reed@android.com8a1c16f2008-12-17 15:59:43 +00001098 "fontName"
1099;
1100
1101static const SkMemberInfo gTypefaceInfo[] = {
1102 {0, 8, 108, 1}
1103};
1104
1105static const SkMemberInfo* const gInfoTables[] = {
1106 gMathInfo,
1107 gAddInfo,
1108 gAddCircleInfo,
1109 gUnknown1Info,
1110 gAddOvalInfo,
1111 gAddPathInfo,
1112 gAddRectangleInfo,
1113 gAddRoundRectInfo,
1114 gUnknown2Info,
1115 gAnimateFieldInfo,
1116 gApplyInfo,
1117 gUnknown3Info,
1118 gDrawBitmapInfo,
1119 gDrawBitmapShaderInfo,
1120 gDrawBlurInfo,
1121 gDisplayBoundsInfo,
1122 gDrawClipInfo,
1123 gDrawColorInfo,
1124 gCubicToInfo,
1125 gDashInfo,
1126 gDataInfo,
1127 gDiscreteInfo,
1128 gDrawToInfo,
1129 gDrawEmbossInfo,
1130 gDisplayEventInfo,
1131 gFromPathInfo,
1132 gUnknown4Info,
1133 gGInfo,
1134 gHitClearInfo,
1135 gHitTestInfo,
1136 gImageInfo,
1137 gIncludeInfo,
1138 gInputInfo,
1139 gLineInfo,
1140 gLineToInfo,
1141 gLinearGradientInfo,
1142 gDrawMatrixInfo,
1143 gMoveInfo,
1144 gMoveToInfo,
1145 gMovieInfo,
1146 gOvalInfo,
1147 gDrawPaintInfo,
1148 gDrawPathInfo,
1149 gUnknown5Info,
1150 gDrawPointInfo,
1151 gPolyToPolyInfo,
1152 gPolygonInfo,
1153 gPolylineInfo,
1154 gPostInfo,
1155 gQuadToInfo,
1156 gRCubicToInfo,
1157 gRLineToInfo,
1158 gRMoveToInfo,
1159 gRQuadToInfo,
1160 gRadialGradientInfo,
1161 gDisplayRandomInfo,
1162 gRectToRectInfo,
1163 gRectangleInfo,
1164 gRemoveInfo,
1165 gReplaceInfo,
1166 gRotateInfo,
1167 gRoundRectInfo,
1168 gS32Info,
1169 gScalarInfo,
1170 gScaleInfo,
1171 gSetInfo,
1172 gShaderInfo,
1173 gSkewInfo,
1174 g3D_CameraInfo,
1175 g3D_PatchInfo,
1176 gUnknown6Info,
1177 gSnapshotInfo,
1178 gStringInfo,
1179 gTextInfo,
1180 gTextBoxInfo,
1181 gTextOnPathInfo,
1182 gTextToPathInfo,
1183 gTranslateInfo,
1184 gTypedArrayInfo,
1185 gTypefaceInfo,
1186};
1187
1188static const unsigned char gInfoCounts[] = {
1189 26,4,4,1,1,2,5,3,13,1,13,2,6,3,2,2,2,8,6,
1190 2,2,2,2,4,8,3,3,2,1,4,3,1,3,4,2,2,12,1,2,
1191 1,1,25,3,3,2,2,1,1,6,4,1,1,1,1,3,5,2,7,2,
1192 1,2,3,1,1,3,8,2,3,7,4,3,4,3,4,6,3,2,2,2,
1193 1
1194};
1195
1196static const unsigned char gTypeIDs[] = {
1197 1, // Math
1198 2, // Add
1199 3, // AddCircle
1200 4, // Unknown1
1201 5, // AddOval
1202 6, // AddPath
1203 7, // AddRectangle
1204 8, // AddRoundRect
1205 10, // Unknown2
1206 11, // AnimateField
1207 12, // Apply
1208 17, // Unknown3
1209 19, // Bitmap
1210 22, // BitmapShader
1211 23, // Blur
1212 25, // Bounds
1213 29, // Clip
1214 31, // Color
1215 32, // CubicTo
1216 33, // Dash
1217 34, // Data
1218 35, // Discrete
1219 38, // DrawTo
1220 41, // Emboss
1221 42, // Event
1222 48, // FromPath
1223 51, // Unknown4
1224 52, // G
1225 53, // HitClear
1226 54, // HitTest
1227 55, // Image
1228 56, // Include
1229 57, // Input
1230 59, // Line
1231 60, // LineTo
1232 61, // LinearGradient
1233 65, // Matrix
1234 68, // Move
1235 69, // MoveTo
1236 70, // Movie
1237 72, // Oval
1238 73, // Paint
1239 74, // Path
1240 77, // Unknown5
1241 78, // Point
1242 79, // PolyToPoly
1243 80, // Polygon
1244 81, // Polyline
1245 82, // Post
1246 83, // QuadTo
1247 84, // RCubicTo
1248 85, // RLineTo
1249 86, // RMoveTo
1250 87, // RQuadTo
1251 88, // RadialGradient
1252 89, // Random
1253 90, // RectToRect
1254 91, // Rectangle
1255 92, // Remove
1256 93, // Replace
1257 94, // Rotate
1258 95, // RoundRect
1259 96, // S32
1260 98, // Scalar
1261 99, // Scale
1262 101, // Set
1263 102, // Shader
1264 103, // Skew
1265 104, // 3D_Camera
1266 105, // 3D_Patch
1267 106, // Unknown6
1268 107, // Snapshot
1269 108, // String
1270 110, // Text
1271 111, // TextBox
1272 114, // TextOnPath
1273 115, // TextToPath
1274 117, // Translate
1275 119, // TypedArray
1276 120, // Typeface
rmistry@google.comd6176b02012-08-23 18:14:13 +00001277
reed@android.com8a1c16f2008-12-17 15:59:43 +00001278};
1279
1280static const int kTypeIDs = 80;
1281
1282static const char* const gInfoNames[] = {
1283 gMathStrings,
1284 gAddStrings,
1285 gAddCircleStrings,
1286 gUnknown1Strings,
1287 gAddOvalStrings,
1288 gAddPathStrings,
1289 gAddRectangleStrings,
1290 gAddRoundRectStrings,
1291 gUnknown2Strings,
1292 gAnimateFieldStrings,
1293 gApplyStrings,
1294 gUnknown3Strings,
1295 gBitmapStrings,
1296 gBitmapShaderStrings,
1297 gBlurStrings,
1298 gBoundsStrings,
1299 gClipStrings,
1300 gColorStrings,
1301 gCubicToStrings,
1302 gDashStrings,
1303 gDataStrings,
1304 gDiscreteStrings,
1305 gDrawToStrings,
1306 gEmbossStrings,
1307 gEventStrings,
1308 gFromPathStrings,
1309 gUnknown4Strings,
1310 gGStrings,
1311 gHitClearStrings,
1312 gHitTestStrings,
1313 gImageStrings,
1314 gIncludeStrings,
1315 gInputStrings,
1316 gLineStrings,
1317 gLineToStrings,
1318 gLinearGradientStrings,
1319 gMatrixStrings,
1320 gMoveStrings,
1321 gMoveToStrings,
1322 gMovieStrings,
1323 gOvalStrings,
1324 gPaintStrings,
1325 gPathStrings,
1326 gUnknown5Strings,
1327 gPointStrings,
1328 gPolyToPolyStrings,
1329 gPolygonStrings,
1330 gPolylineStrings,
1331 gPostStrings,
1332 gQuadToStrings,
1333 gRCubicToStrings,
1334 gRLineToStrings,
1335 gRMoveToStrings,
1336 gRQuadToStrings,
1337 gRadialGradientStrings,
1338 gRandomStrings,
1339 gRectToRectStrings,
1340 gRectangleStrings,
1341 gRemoveStrings,
1342 gReplaceStrings,
1343 gRotateStrings,
1344 gRoundRectStrings,
1345 gS32Strings,
1346 gScalarStrings,
1347 gScaleStrings,
1348 gSetStrings,
1349 gShaderStrings,
1350 gSkewStrings,
1351 g3D_CameraStrings,
1352 g3D_PatchStrings,
1353 gUnknown6Strings,
1354 gSnapshotStrings,
1355 gStringStrings,
1356 gTextStrings,
1357 gTextBoxStrings,
1358 gTextOnPathStrings,
1359 gTextToPathStrings,
1360 gTranslateStrings,
1361 gTypedArrayStrings,
1362 gTypefaceStrings
1363};
1364#endif
1365#endif