1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/skia/trunk/src/animator/SkCondensedDebug.cpp Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,1387 @@ 1.4 + 1.5 +/* 1.6 + * Copyright 2006 The Android Open Source Project 1.7 + * 1.8 + * Use of this source code is governed by a BSD-style license that can be 1.9 + * found in the LICENSE file. 1.10 + */ 1.11 + 1.12 + 1.13 +#include "SkTypes.h" 1.14 +#ifndef SK_BUILD_FOR_UNIX 1.15 +#ifdef SK_DEBUG 1.16 +// This file was automatically generated. 1.17 +// To change it, edit the file with the matching debug info. 1.18 +// Then execute SkDisplayType::BuildCondensedInfo() to regenerate this file. 1.19 + 1.20 +static const char gMathStrings[] = 1.21 + "E\0" 1.22 + "LN10\0" 1.23 + "LN2\0" 1.24 + "LOG10E\0" 1.25 + "LOG2E\0" 1.26 + "PI\0" 1.27 + "SQRT1_2\0" 1.28 + "SQRT2\0" 1.29 + "abs\0" 1.30 + "acos\0" 1.31 + "asin\0" 1.32 + "atan\0" 1.33 + "atan2\0" 1.34 + "ceil\0" 1.35 + "cos\0" 1.36 + "exp\0" 1.37 + "floor\0" 1.38 + "log\0" 1.39 + "max\0" 1.40 + "min\0" 1.41 + "pow\0" 1.42 + "random\0" 1.43 + "round\0" 1.44 + "sin\0" 1.45 + "sqrt\0" 1.46 + "tan" 1.47 +; 1.48 + 1.49 +static const SkMemberInfo gMathInfo[] = { 1.50 + {0, -1, 67, 98}, 1.51 + {2, -2, 67, 98}, 1.52 + {7, -3, 67, 98}, 1.53 + {11, -4, 67, 98}, 1.54 + {18, -5, 67, 98}, 1.55 + {24, -6, 67, 98}, 1.56 + {27, -7, 67, 98}, 1.57 + {35, -8, 67, 98}, 1.58 + {41, -1, 66, 98}, 1.59 + {45, -2, 66, 98}, 1.60 + {50, -3, 66, 98}, 1.61 + {55, -4, 66, 98}, 1.62 + {60, -5, 66, 98}, 1.63 + {66, -6, 66, 98}, 1.64 + {71, -7, 66, 98}, 1.65 + {75, -8, 66, 98}, 1.66 + {79, -9, 66, 98}, 1.67 + {85, -10, 66, 98}, 1.68 + {89, -11, 66, 98}, 1.69 + {93, -12, 66, 98}, 1.70 + {97, -13, 66, 98}, 1.71 + {101, -14, 66, 98}, 1.72 + {108, -15, 66, 98}, 1.73 + {114, -16, 66, 98}, 1.74 + {118, -17, 66, 98}, 1.75 + {123, -18, 66, 98} 1.76 +}; 1.77 + 1.78 +static const char gAddStrings[] = 1.79 + "inPlace\0" 1.80 + "offset\0" 1.81 + "use\0" 1.82 + "where" 1.83 +; 1.84 + 1.85 +static const SkMemberInfo gAddInfo[] = { 1.86 + {0, 16, 26, 1}, 1.87 + {8, 20, 96, 1}, 1.88 + {15, 24, 37, 1}, 1.89 + {19, 28, 37, 1} 1.90 +}; 1.91 + 1.92 +static const char gAddCircleStrings[] = 1.93 + "\0" 1.94 + "radius\0" 1.95 + "x\0" 1.96 + "y" 1.97 +; 1.98 + 1.99 +static const SkMemberInfo gAddCircleInfo[] = { 1.100 + {0, 3, 18, 1}, 1.101 + {1, 24, 98, 1}, 1.102 + {8, 28, 98, 1}, 1.103 + {10, 32, 98, 1} 1.104 +}; 1.105 + 1.106 +static const char gUnknown1Strings[] = 1.107 + "direction" 1.108 +; 1.109 + 1.110 +static const SkMemberInfo gUnknown1Info[] = { 1.111 + {0, 20, 75, 1} 1.112 +}; 1.113 + 1.114 +static const char gAddOvalStrings[] = 1.115 + "" 1.116 +; 1.117 + 1.118 +static const SkMemberInfo gAddOvalInfo[] = { 1.119 + {0, 6, 18, 5} 1.120 +}; 1.121 + 1.122 +static const char gAddPathStrings[] = 1.123 + "matrix\0" 1.124 + "path" 1.125 +; 1.126 + 1.127 +static const SkMemberInfo gAddPathInfo[] = { 1.128 + {0, 20, 65, 1}, 1.129 + {7, 24, 74, 1} 1.130 +}; 1.131 + 1.132 +static const char gAddRectangleStrings[] = 1.133 + "\0" 1.134 + "bottom\0" 1.135 + "left\0" 1.136 + "right\0" 1.137 + "top" 1.138 +; 1.139 + 1.140 +static const SkMemberInfo gAddRectangleInfo[] = { 1.141 + {0, 3, 18, 1}, 1.142 + {1, 36, 98, 1}, 1.143 + {8, 24, 98, 1}, 1.144 + {13, 32, 98, 1}, 1.145 + {19, 28, 98, 1} 1.146 +}; 1.147 + 1.148 +static const char gAddRoundRectStrings[] = 1.149 + "\0" 1.150 + "rx\0" 1.151 + "ry" 1.152 +; 1.153 + 1.154 +static const SkMemberInfo gAddRoundRectInfo[] = { 1.155 + {0, 6, 18, 5}, 1.156 + {1, 40, 98, 1}, 1.157 + {4, 44, 98, 1} 1.158 +}; 1.159 + 1.160 +static const char gUnknown2Strings[] = 1.161 + "begin\0" 1.162 + "blend\0" 1.163 + "dur\0" 1.164 + "dynamic\0" 1.165 + "field\0" 1.166 + "formula\0" 1.167 + "from\0" 1.168 + "mirror\0" 1.169 + "repeat\0" 1.170 + "reset\0" 1.171 + "target\0" 1.172 + "to\0" 1.173 + "values" 1.174 +; 1.175 + 1.176 +static const SkMemberInfo gUnknown2Info[] = { 1.177 + {0, 16, 71, 1}, 1.178 + {6, 20, 119, 98}, 1.179 + {12, 36, 71, 1}, 1.180 + {16, -1, 67, 26}, 1.181 + {24, 40, 108, 2}, 1.182 + {30, 48, 40, 2}, 1.183 + {38, 56, 40, 2}, 1.184 + {43, -2, 67, 26}, 1.185 + {50, 64, 98, 1}, 1.186 + {57, -3, 67, 26}, 1.187 + {63, 68, 40, 2}, 1.188 + {70, 76, 40, 2}, 1.189 + {73, -4, 67, 40} 1.190 +}; 1.191 + 1.192 +static const char gAnimateFieldStrings[] = 1.193 + "" 1.194 +; 1.195 + 1.196 +static const SkMemberInfo gAnimateFieldInfo[] = { 1.197 + {0, 8, 18, 13} 1.198 +}; 1.199 + 1.200 +static const char gApplyStrings[] = 1.201 + "animator\0" 1.202 + "begin\0" 1.203 + "dontDraw\0" 1.204 + "dynamicScope\0" 1.205 + "interval\0" 1.206 + "mode\0" 1.207 + "pickup\0" 1.208 + "restore\0" 1.209 + "scope\0" 1.210 + "step\0" 1.211 + "steps\0" 1.212 + "time\0" 1.213 + "transition" 1.214 +; 1.215 + 1.216 +static const SkMemberInfo gApplyInfo[] = { 1.217 + {0, -1, 67, 10}, 1.218 + {9, 16, 71, 1}, 1.219 + {15, 20, 26, 1}, 1.220 + {24, 24, 108, 2}, 1.221 + {37, 32, 71, 1}, 1.222 + {46, 36, 13, 1}, 1.223 + {51, 40, 26, 1}, 1.224 + {58, 44, 26, 1}, 1.225 + {66, 48, 37, 1}, 1.226 + {72, -2, 67, 96}, 1.227 + {77, 52, 96, 1}, 1.228 + {83, -3, 67, 71}, 1.229 + {88, 56, 14, 1} 1.230 +}; 1.231 + 1.232 +static const char gUnknown3Strings[] = 1.233 + "x\0" 1.234 + "y" 1.235 +; 1.236 + 1.237 +static const SkMemberInfo gUnknown3Info[] = { 1.238 + {0, 48, 98, 1}, 1.239 + {2, 52, 98, 1} 1.240 +}; 1.241 + 1.242 +static const char gBitmapStrings[] = 1.243 + "\0" 1.244 + "erase\0" 1.245 + "format\0" 1.246 + "height\0" 1.247 + "rowBytes\0" 1.248 + "width" 1.249 +; 1.250 + 1.251 +static const SkMemberInfo gDrawBitmapInfo[] = { 1.252 + {0, 11, 18, 2}, 1.253 + {1, -1, 67, 15}, 1.254 + {7, 56, 21, 1}, 1.255 + {14, 60, 96, 1}, 1.256 + {21, 64, 96, 1}, 1.257 + {30, 68, 96, 1} 1.258 +}; 1.259 + 1.260 +static const char gBitmapShaderStrings[] = 1.261 + "\0" 1.262 + "filterType\0" 1.263 + "image" 1.264 +; 1.265 + 1.266 +static const SkMemberInfo gDrawBitmapShaderInfo[] = { 1.267 + {0, 67, 18, 2}, 1.268 + {1, 28, 47, 1}, 1.269 + {12, 32, 17, 1} 1.270 +}; 1.271 + 1.272 +static const char gBlurStrings[] = 1.273 + "blurStyle\0" 1.274 + "radius" 1.275 +; 1.276 + 1.277 +static const SkMemberInfo gDrawBlurInfo[] = { 1.278 + {0, 24, 63, 1}, 1.279 + {10, 20, 98, 1} 1.280 +}; 1.281 + 1.282 +static const char gBoundsStrings[] = 1.283 + "\0" 1.284 + "inval" 1.285 +; 1.286 + 1.287 +static const SkMemberInfo gDisplayBoundsInfo[] = { 1.288 + {0, 58, 18, 7}, 1.289 + {1, 44, 26, 1} 1.290 +}; 1.291 + 1.292 +static const char gClipStrings[] = 1.293 + "path\0" 1.294 + "rectangle" 1.295 +; 1.296 + 1.297 +static const SkMemberInfo gDrawClipInfo[] = { 1.298 + {0, 20, 74, 1}, 1.299 + {5, 16, 91, 1} 1.300 +}; 1.301 + 1.302 +static const char gColorStrings[] = 1.303 + "alpha\0" 1.304 + "blue\0" 1.305 + "color\0" 1.306 + "green\0" 1.307 + "hue\0" 1.308 + "red\0" 1.309 + "saturation\0" 1.310 + "value" 1.311 +; 1.312 + 1.313 +static const SkMemberInfo gDrawColorInfo[] = { 1.314 + {0, -1, 67, 98}, 1.315 + {6, -2, 67, 98}, 1.316 + {11, 20, 15, 1}, 1.317 + {17, -3, 67, 98}, 1.318 + {23, -4, 67, 98}, 1.319 + {27, -5, 67, 98}, 1.320 + {31, -6, 67, 98}, 1.321 + {42, -7, 67, 98} 1.322 +}; 1.323 + 1.324 +static const char gCubicToStrings[] = 1.325 + "x1\0" 1.326 + "x2\0" 1.327 + "x3\0" 1.328 + "y1\0" 1.329 + "y2\0" 1.330 + "y3" 1.331 +; 1.332 + 1.333 +static const SkMemberInfo gCubicToInfo[] = { 1.334 + {0, 20, 98, 1}, 1.335 + {3, 28, 98, 1}, 1.336 + {6, 36, 98, 1}, 1.337 + {9, 24, 98, 1}, 1.338 + {12, 32, 98, 1}, 1.339 + {15, 40, 98, 1} 1.340 +}; 1.341 + 1.342 +static const char gDashStrings[] = 1.343 + "intervals\0" 1.344 + "phase" 1.345 +; 1.346 + 1.347 +static const SkMemberInfo gDashInfo[] = { 1.348 + {0, 20, 119, 98}, 1.349 + {10, 36, 98, 1} 1.350 +}; 1.351 + 1.352 +static const char gDataStrings[] = 1.353 + "\0" 1.354 + "name" 1.355 +; 1.356 + 1.357 +static const SkMemberInfo gDataInfo[] = { 1.358 + {0, 33, 18, 3}, 1.359 + {1, 32, 108, 2} 1.360 +}; 1.361 + 1.362 +static const char gDiscreteStrings[] = 1.363 + "deviation\0" 1.364 + "segLength" 1.365 +; 1.366 + 1.367 +static const SkMemberInfo gDiscreteInfo[] = { 1.368 + {0, 20, 98, 1}, 1.369 + {10, 24, 98, 1} 1.370 +}; 1.371 + 1.372 +static const char gDrawToStrings[] = 1.373 + "drawOnce\0" 1.374 + "use" 1.375 +; 1.376 + 1.377 +static const SkMemberInfo gDrawToInfo[] = { 1.378 + {0, 72, 26, 1}, 1.379 + {9, 76, 19, 1} 1.380 +}; 1.381 + 1.382 +static const char gDumpStrings[] = 1.383 + "displayList\0" 1.384 + "eventList\0" 1.385 + "events\0" 1.386 + "groups\0" 1.387 + "name\0" 1.388 + "posts" 1.389 +; 1.390 + 1.391 +static const SkMemberInfo gDumpInfo[] = { 1.392 + {0, 16, 26, 1}, 1.393 + {12, 20, 26, 1}, 1.394 + {22, 24, 26, 1}, 1.395 + {29, 36, 26, 1}, 1.396 + {36, 28, 108, 2}, 1.397 + {41, 40, 26, 1} 1.398 +}; 1.399 + 1.400 +static const char gEmbossStrings[] = 1.401 + "ambient\0" 1.402 + "direction\0" 1.403 + "radius\0" 1.404 + "specular" 1.405 +; 1.406 + 1.407 +static const SkMemberInfo gDrawEmbossInfo[] = { 1.408 + {0, -1, 67, 98}, 1.409 + {8, 20, 119, 98}, 1.410 + {18, 36, 98, 1}, 1.411 + {25, -2, 67, 98} 1.412 +}; 1.413 + 1.414 +static const char gEventStrings[] = 1.415 + "code\0" 1.416 + "disable\0" 1.417 + "key\0" 1.418 + "keys\0" 1.419 + "kind\0" 1.420 + "target\0" 1.421 + "x\0" 1.422 + "y" 1.423 +; 1.424 + 1.425 +static const SkMemberInfo gDisplayEventInfo[] = { 1.426 + {0, 16, 43, 1}, 1.427 + {5, 20, 26, 1}, 1.428 + {13, -1, 67, 108}, 1.429 + {17, -2, 67, 108}, 1.430 + {22, 24, 44, 1}, 1.431 + {27, 28, 108, 2}, 1.432 + {34, 36, 98, 1}, 1.433 + {36, 40, 98, 1} 1.434 +}; 1.435 + 1.436 +static const char gFromPathStrings[] = 1.437 + "mode\0" 1.438 + "offset\0" 1.439 + "path" 1.440 +; 1.441 + 1.442 +static const SkMemberInfo gFromPathInfo[] = { 1.443 + {0, 20, 49, 1}, 1.444 + {5, 24, 98, 1}, 1.445 + {12, 28, 74, 1} 1.446 +}; 1.447 + 1.448 +static const char gUnknown4Strings[] = 1.449 + "\0" 1.450 + "offsets\0" 1.451 + "unitMapper" 1.452 +; 1.453 + 1.454 +static const SkMemberInfo gUnknown4Info[] = { 1.455 + {0, 67, 18, 2}, 1.456 + {1, 28, 119, 98}, 1.457 + {9, 44, 108, 2} 1.458 +}; 1.459 + 1.460 +static const char gGStrings[] = 1.461 + "condition\0" 1.462 + "enableCondition" 1.463 +; 1.464 + 1.465 +static const SkMemberInfo gGInfo[] = { 1.466 + {0, 16, 40, 2}, 1.467 + {10, 24, 40, 2} 1.468 +}; 1.469 + 1.470 +static const char gHitClearStrings[] = 1.471 + "targets" 1.472 +; 1.473 + 1.474 +static const SkMemberInfo gHitClearInfo[] = { 1.475 + {0, 16, 119, 36} 1.476 +}; 1.477 + 1.478 +static const char gHitTestStrings[] = 1.479 + "bullets\0" 1.480 + "hits\0" 1.481 + "targets\0" 1.482 + "value" 1.483 +; 1.484 + 1.485 +static const SkMemberInfo gHitTestInfo[] = { 1.486 + {0, 16, 119, 36}, 1.487 + {8, 32, 119, 96}, 1.488 + {13, 48, 119, 36}, 1.489 + {21, 64, 26, 1} 1.490 +}; 1.491 + 1.492 +static const char gImageStrings[] = 1.493 + "\0" 1.494 + "base64\0" 1.495 + "src" 1.496 +; 1.497 + 1.498 +static const SkMemberInfo gImageInfo[] = { 1.499 + {0, 11, 18, 2}, 1.500 + {1, 56, 16, 2}, 1.501 + {8, 64, 108, 2} 1.502 +}; 1.503 + 1.504 +static const char gIncludeStrings[] = 1.505 + "src" 1.506 +; 1.507 + 1.508 +static const SkMemberInfo gIncludeInfo[] = { 1.509 + {0, 16, 108, 2} 1.510 +}; 1.511 + 1.512 +static const char gInputStrings[] = 1.513 + "s32\0" 1.514 + "scalar\0" 1.515 + "string" 1.516 +; 1.517 + 1.518 +static const SkMemberInfo gInputInfo[] = { 1.519 + {0, 16, 96, 1}, 1.520 + {4, 20, 98, 1}, 1.521 + {11, 24, 108, 2} 1.522 +}; 1.523 + 1.524 +static const char gLineStrings[] = 1.525 + "x1\0" 1.526 + "x2\0" 1.527 + "y1\0" 1.528 + "y2" 1.529 +; 1.530 + 1.531 +static const SkMemberInfo gLineInfo[] = { 1.532 + {0, 24, 98, 1}, 1.533 + {3, 28, 98, 1}, 1.534 + {6, 32, 98, 1}, 1.535 + {9, 36, 98, 1} 1.536 +}; 1.537 + 1.538 +static const char gLineToStrings[] = 1.539 + "x\0" 1.540 + "y" 1.541 +; 1.542 + 1.543 +static const SkMemberInfo gLineToInfo[] = { 1.544 + {0, 20, 98, 1}, 1.545 + {2, 24, 98, 1} 1.546 +}; 1.547 + 1.548 +static const char gLinearGradientStrings[] = 1.549 + "\0" 1.550 + "points" 1.551 +; 1.552 + 1.553 +static const SkMemberInfo gLinearGradientInfo[] = { 1.554 + {0, 27, 18, 3}, 1.555 + {1, 88, 77, 4} 1.556 +}; 1.557 + 1.558 +static const char gMatrixStrings[] = 1.559 + "matrix\0" 1.560 + "perspectX\0" 1.561 + "perspectY\0" 1.562 + "rotate\0" 1.563 + "scale\0" 1.564 + "scaleX\0" 1.565 + "scaleY\0" 1.566 + "skewX\0" 1.567 + "skewY\0" 1.568 + "translate\0" 1.569 + "translateX\0" 1.570 + "translateY" 1.571 +; 1.572 + 1.573 +static const SkMemberInfo gDrawMatrixInfo[] = { 1.574 + {0, 16, 119, 98}, 1.575 + {7, -1, 67, 98}, 1.576 + {17, -2, 67, 98}, 1.577 + {27, -3, 67, 98}, 1.578 + {34, -4, 67, 98}, 1.579 + {40, -5, 67, 98}, 1.580 + {47, -6, 67, 98}, 1.581 + {54, -7, 67, 98}, 1.582 + {60, -8, 67, 98}, 1.583 + {66, -9, 67, 77}, 1.584 + {76, -10, 67, 98}, 1.585 + {87, -11, 67, 98} 1.586 +}; 1.587 + 1.588 +static const char gMoveStrings[] = 1.589 + "" 1.590 +; 1.591 + 1.592 +static const SkMemberInfo gMoveInfo[] = { 1.593 + {0, 1, 18, 4} 1.594 +}; 1.595 + 1.596 +static const char gMoveToStrings[] = 1.597 + "x\0" 1.598 + "y" 1.599 +; 1.600 + 1.601 +static const SkMemberInfo gMoveToInfo[] = { 1.602 + {0, 20, 98, 1}, 1.603 + {2, 24, 98, 1} 1.604 +}; 1.605 + 1.606 +static const char gMovieStrings[] = 1.607 + "src" 1.608 +; 1.609 + 1.610 +static const SkMemberInfo gMovieInfo[] = { 1.611 + {0, 16, 108, 2} 1.612 +}; 1.613 + 1.614 +static const char gOvalStrings[] = 1.615 + "" 1.616 +; 1.617 + 1.618 +static const SkMemberInfo gOvalInfo[] = { 1.619 + {0, 58, 18, 7} 1.620 +}; 1.621 + 1.622 +static const char gPaintStrings[] = 1.623 + "antiAlias\0" 1.624 + "ascent\0" 1.625 + "color\0" 1.626 + "descent\0" 1.627 + "filterType\0" 1.628 + "linearText\0" 1.629 + "maskFilter\0" 1.630 + "measureText\0" 1.631 + "pathEffect\0" 1.632 + "shader\0" 1.633 + "strikeThru\0" 1.634 + "stroke\0" 1.635 + "strokeCap\0" 1.636 + "strokeJoin\0" 1.637 + "strokeMiter\0" 1.638 + "strokeWidth\0" 1.639 + "style\0" 1.640 + "textAlign\0" 1.641 + "textScaleX\0" 1.642 + "textSize\0" 1.643 + "textSkewX\0" 1.644 + "textTracking\0" 1.645 + "typeface\0" 1.646 + "underline\0" 1.647 + "xfermode" 1.648 +; 1.649 + 1.650 +static const SkMemberInfo gDrawPaintInfo[] = { 1.651 + {0, 16, 26, 1}, 1.652 + {10, -1, 67, 98}, 1.653 + {17, 20, 31, 1}, 1.654 + {23, -2, 67, 98}, 1.655 + {31, 24, 47, 1}, 1.656 + {42, 28, 26, 1}, 1.657 + {53, 32, 62, 1}, 1.658 + {64, -1, 66, 98}, 1.659 + {76, 36, 76, 1}, 1.660 + {87, 40, 102, 1}, 1.661 + {94, 44, 26, 1}, 1.662 + {105, 48, 26, 1}, 1.663 + {112, 52, 27, 1}, 1.664 + {122, 56, 58, 1}, 1.665 + {133, 60, 98, 1}, 1.666 + {145, 64, 98, 1}, 1.667 + {157, 68, 109, 1}, 1.668 + {163, 72, 9, 1}, 1.669 + {173, 76, 98, 1}, 1.670 + {184, 80, 98, 1}, 1.671 + {193, 84, 98, 1}, 1.672 + {203, 88, 98, 1}, 1.673 + {216, 92, 120, 1}, 1.674 + {225, 96, 26, 1}, 1.675 + {235, 100, 121, 1} 1.676 +}; 1.677 + 1.678 +static const char gPathStrings[] = 1.679 + "d\0" 1.680 + "fillType\0" 1.681 + "length" 1.682 +; 1.683 + 1.684 +static const SkMemberInfo gDrawPathInfo[] = { 1.685 + {0, 52, 108, 2}, 1.686 + {2, -1, 67, 46}, 1.687 + {11, -2, 67, 98} 1.688 +}; 1.689 + 1.690 +static const char gUnknown5Strings[] = 1.691 + "x\0" 1.692 + "y\0" 1.693 + "z" 1.694 +; 1.695 + 1.696 +static const SkMemberInfo gUnknown5Info[] = { 1.697 + {0, 0, 98, 1}, 1.698 + {2, 4, 98, 1}, 1.699 + {4, 8, 98, 1} 1.700 +}; 1.701 + 1.702 +static const char gPointStrings[] = 1.703 + "x\0" 1.704 + "y" 1.705 +; 1.706 + 1.707 +static const SkMemberInfo gDrawPointInfo[] = { 1.708 + {0, 16, 98, 1}, 1.709 + {2, 20, 98, 1} 1.710 +}; 1.711 + 1.712 +static const char gPolyToPolyStrings[] = 1.713 + "destination\0" 1.714 + "source" 1.715 +; 1.716 + 1.717 +static const SkMemberInfo gPolyToPolyInfo[] = { 1.718 + {0, 24, 80, 1}, 1.719 + {12, 20, 80, 1} 1.720 +}; 1.721 + 1.722 +static const char gPolygonStrings[] = 1.723 + "" 1.724 +; 1.725 + 1.726 +static const SkMemberInfo gPolygonInfo[] = { 1.727 + {0, 48, 18, 1} 1.728 +}; 1.729 + 1.730 +static const char gPolylineStrings[] = 1.731 + "points" 1.732 +; 1.733 + 1.734 +static const SkMemberInfo gPolylineInfo[] = { 1.735 + {0, 88, 119, 98} 1.736 +}; 1.737 + 1.738 +static const char gPostStrings[] = 1.739 + "delay\0" 1.740 + "initialized\0" 1.741 + "mode\0" 1.742 + "sink\0" 1.743 + "target\0" 1.744 + "type" 1.745 +; 1.746 + 1.747 +static const SkMemberInfo gPostInfo[] = { 1.748 + {0, 16, 71, 1}, 1.749 + {6, 20, 26, 1}, 1.750 + {18, 24, 45, 1}, 1.751 + {23, -1, 67, 108}, 1.752 + {28, -2, 67, 108}, 1.753 + {35, -3, 67, 108} 1.754 +}; 1.755 + 1.756 +static const char gQuadToStrings[] = 1.757 + "x1\0" 1.758 + "x2\0" 1.759 + "y1\0" 1.760 + "y2" 1.761 +; 1.762 + 1.763 +static const SkMemberInfo gQuadToInfo[] = { 1.764 + {0, 20, 98, 1}, 1.765 + {3, 28, 98, 1}, 1.766 + {6, 24, 98, 1}, 1.767 + {9, 32, 98, 1} 1.768 +}; 1.769 + 1.770 +static const char gRCubicToStrings[] = 1.771 + "" 1.772 +; 1.773 + 1.774 +static const SkMemberInfo gRCubicToInfo[] = { 1.775 + {0, 18, 18, 6} 1.776 +}; 1.777 + 1.778 +static const char gRLineToStrings[] = 1.779 + "" 1.780 +; 1.781 + 1.782 +static const SkMemberInfo gRLineToInfo[] = { 1.783 + {0, 35, 18, 2} 1.784 +}; 1.785 + 1.786 +static const char gRMoveToStrings[] = 1.787 + "" 1.788 +; 1.789 + 1.790 +static const SkMemberInfo gRMoveToInfo[] = { 1.791 + {0, 39, 18, 2} 1.792 +}; 1.793 + 1.794 +static const char gRQuadToStrings[] = 1.795 + "" 1.796 +; 1.797 + 1.798 +static const SkMemberInfo gRQuadToInfo[] = { 1.799 + {0, 50, 18, 4} 1.800 +}; 1.801 + 1.802 +static const char gRadialGradientStrings[] = 1.803 + "\0" 1.804 + "center\0" 1.805 + "radius" 1.806 +; 1.807 + 1.808 +static const SkMemberInfo gRadialGradientInfo[] = { 1.809 + {0, 27, 18, 3}, 1.810 + {1, 88, 77, 2}, 1.811 + {8, 96, 98, 1} 1.812 +}; 1.813 + 1.814 +static const char gRandomStrings[] = 1.815 + "blend\0" 1.816 + "max\0" 1.817 + "min\0" 1.818 + "random\0" 1.819 + "seed" 1.820 +; 1.821 + 1.822 +static const SkMemberInfo gDisplayRandomInfo[] = { 1.823 + {0, 16, 98, 1}, 1.824 + {6, 24, 98, 1}, 1.825 + {10, 20, 98, 1}, 1.826 + {14, 1, 67, 98}, 1.827 + {21, -2, 67, 96} 1.828 +}; 1.829 + 1.830 +static const char gRectToRectStrings[] = 1.831 + "destination\0" 1.832 + "source" 1.833 +; 1.834 + 1.835 +static const SkMemberInfo gRectToRectInfo[] = { 1.836 + {0, 24, 91, 1}, 1.837 + {12, 20, 91, 1} 1.838 +}; 1.839 + 1.840 +static const char gRectangleStrings[] = 1.841 + "bottom\0" 1.842 + "height\0" 1.843 + "left\0" 1.844 + "needsRedraw\0" 1.845 + "right\0" 1.846 + "top\0" 1.847 + "width" 1.848 +; 1.849 + 1.850 +static const SkMemberInfo gRectangleInfo[] = { 1.851 + {0, 36, 98, 1}, 1.852 + {7, -1, 67, 98}, 1.853 + {14, 24, 98, 1}, 1.854 + {19, -2, 67, 26}, 1.855 + {31, 32, 98, 1}, 1.856 + {37, 28, 98, 1}, 1.857 + {41, -3, 67, 98} 1.858 +}; 1.859 + 1.860 +static const char gRemoveStrings[] = 1.861 + "offset\0" 1.862 + "where" 1.863 +; 1.864 + 1.865 +static const SkMemberInfo gRemoveInfo[] = { 1.866 + {0, 20, 96, 1}, 1.867 + {7, 28, 37, 1} 1.868 +}; 1.869 + 1.870 +static const char gReplaceStrings[] = 1.871 + "" 1.872 +; 1.873 + 1.874 +static const SkMemberInfo gReplaceInfo[] = { 1.875 + {0, 1, 18, 4} 1.876 +}; 1.877 + 1.878 +static const char gRotateStrings[] = 1.879 + "center\0" 1.880 + "degrees" 1.881 +; 1.882 + 1.883 +static const SkMemberInfo gRotateInfo[] = { 1.884 + {0, 24, 77, 2}, 1.885 + {7, 20, 98, 1} 1.886 +}; 1.887 + 1.888 +static const char gRoundRectStrings[] = 1.889 + "\0" 1.890 + "rx\0" 1.891 + "ry" 1.892 +; 1.893 + 1.894 +static const SkMemberInfo gRoundRectInfo[] = { 1.895 + {0, 58, 18, 7}, 1.896 + {1, 44, 98, 1}, 1.897 + {4, 48, 98, 1} 1.898 +}; 1.899 + 1.900 +static const char gS32Strings[] = 1.901 + "value" 1.902 +; 1.903 + 1.904 +static const SkMemberInfo gS32Info[] = { 1.905 + {0, 16, 96, 1} 1.906 +}; 1.907 + 1.908 +static const char gScalarStrings[] = 1.909 + "value" 1.910 +; 1.911 + 1.912 +static const SkMemberInfo gScalarInfo[] = { 1.913 + {0, 16, 98, 1} 1.914 +}; 1.915 + 1.916 +static const char gScaleStrings[] = 1.917 + "center\0" 1.918 + "x\0" 1.919 + "y" 1.920 +; 1.921 + 1.922 +static const SkMemberInfo gScaleInfo[] = { 1.923 + {0, 28, 77, 2}, 1.924 + {7, 20, 98, 1}, 1.925 + {9, 24, 98, 1} 1.926 +}; 1.927 + 1.928 +static const char gSetStrings[] = 1.929 + "begin\0" 1.930 + "dur\0" 1.931 + "dynamic\0" 1.932 + "field\0" 1.933 + "formula\0" 1.934 + "reset\0" 1.935 + "target\0" 1.936 + "to" 1.937 +; 1.938 + 1.939 +static const SkMemberInfo gSetInfo[] = { 1.940 + {0, 16, 71, 1}, 1.941 + {6, 36, 71, 1}, 1.942 + {10, -1, 67, 26}, 1.943 + {18, 40, 108, 2}, 1.944 + {24, 48, 40, 2}, 1.945 + {32, -3, 67, 26}, 1.946 + {38, 68, 40, 2}, 1.947 + {45, 76, 40, 2} 1.948 +}; 1.949 + 1.950 +static const char gShaderStrings[] = 1.951 + "matrix\0" 1.952 + "tileMode" 1.953 +; 1.954 + 1.955 +static const SkMemberInfo gShaderInfo[] = { 1.956 + {0, 20, 65, 1}, 1.957 + {7, 24, 116, 1} 1.958 +}; 1.959 + 1.960 +static const char gSkewStrings[] = 1.961 + "center\0" 1.962 + "x\0" 1.963 + "y" 1.964 +; 1.965 + 1.966 +static const SkMemberInfo gSkewInfo[] = { 1.967 + {0, 28, 77, 2}, 1.968 + {7, 20, 98, 1}, 1.969 + {9, 24, 98, 1} 1.970 +}; 1.971 + 1.972 +static const char g3D_CameraStrings[] = 1.973 + "axis\0" 1.974 + "hackHeight\0" 1.975 + "hackWidth\0" 1.976 + "location\0" 1.977 + "observer\0" 1.978 + "patch\0" 1.979 + "zenith" 1.980 +; 1.981 + 1.982 +static const SkMemberInfo g3D_CameraInfo[] = { 1.983 + {0, 36, 106, 3}, 1.984 + {5, 20, 98, 1}, 1.985 + {16, 16, 98, 1}, 1.986 + {26, 24, 106, 3}, 1.987 + {35, 60, 106, 3}, 1.988 + {44, 108, 105, 1}, 1.989 + {50, 48, 106, 3} 1.990 +}; 1.991 + 1.992 +static const char g3D_PatchStrings[] = 1.993 + "origin\0" 1.994 + "rotateDegrees\0" 1.995 + "u\0" 1.996 + "v" 1.997 +; 1.998 + 1.999 +static const SkMemberInfo g3D_PatchInfo[] = { 1.1000 + {0, 40, 106, 3}, 1.1001 + {7, -1, 66, 98}, 1.1002 + {21, 16, 106, 3}, 1.1003 + {23, 28, 106, 3} 1.1004 +}; 1.1005 + 1.1006 +static const char gUnknown6Strings[] = 1.1007 + "x\0" 1.1008 + "y\0" 1.1009 + "z" 1.1010 +; 1.1011 + 1.1012 +static const SkMemberInfo gUnknown6Info[] = { 1.1013 + {0, 0, 98, 1}, 1.1014 + {2, 4, 98, 1}, 1.1015 + {4, 8, 98, 1} 1.1016 +}; 1.1017 + 1.1018 +static const char gSnapshotStrings[] = 1.1019 + "filename\0" 1.1020 + "quality\0" 1.1021 + "sequence\0" 1.1022 + "type" 1.1023 +; 1.1024 + 1.1025 +static const SkMemberInfo gSnapshotInfo[] = { 1.1026 + {0, 16, 108, 2}, 1.1027 + {9, 24, 98, 1}, 1.1028 + {17, 28, 26, 1}, 1.1029 + {26, 32, 20, 1} 1.1030 +}; 1.1031 + 1.1032 +static const char gStringStrings[] = 1.1033 + "length\0" 1.1034 + "slice\0" 1.1035 + "value" 1.1036 +; 1.1037 + 1.1038 +static const SkMemberInfo gStringInfo[] = { 1.1039 + {0, -1, 67, 96}, 1.1040 + {7, -1, 66, 108}, 1.1041 + {13, 16, 108, 2} 1.1042 +}; 1.1043 + 1.1044 +static const char gTextStrings[] = 1.1045 + "length\0" 1.1046 + "text\0" 1.1047 + "x\0" 1.1048 + "y" 1.1049 +; 1.1050 + 1.1051 +static const SkMemberInfo gTextInfo[] = { 1.1052 + {0, -1, 67, 96}, 1.1053 + {7, 24, 108, 2}, 1.1054 + {12, 32, 98, 1}, 1.1055 + {14, 36, 98, 1} 1.1056 +}; 1.1057 + 1.1058 +static const char gTextBoxStrings[] = 1.1059 + "\0" 1.1060 + "mode\0" 1.1061 + "spacingAdd\0" 1.1062 + "spacingAlign\0" 1.1063 + "spacingMul\0" 1.1064 + "text" 1.1065 +; 1.1066 + 1.1067 +static const SkMemberInfo gTextBoxInfo[] = { 1.1068 + {0, 58, 18, 7}, 1.1069 + {1, 60, 113, 1}, 1.1070 + {6, 56, 98, 1}, 1.1071 + {17, 64, 112, 1}, 1.1072 + {30, 52, 98, 1}, 1.1073 + {41, 44, 108, 2} 1.1074 +}; 1.1075 + 1.1076 +static const char gTextOnPathStrings[] = 1.1077 + "offset\0" 1.1078 + "path\0" 1.1079 + "text" 1.1080 +; 1.1081 + 1.1082 +static const SkMemberInfo gTextOnPathInfo[] = { 1.1083 + {0, 24, 98, 1}, 1.1084 + {7, 28, 74, 1}, 1.1085 + {12, 32, 110, 1} 1.1086 +}; 1.1087 + 1.1088 +static const char gTextToPathStrings[] = 1.1089 + "path\0" 1.1090 + "text" 1.1091 +; 1.1092 + 1.1093 +static const SkMemberInfo gTextToPathInfo[] = { 1.1094 + {0, 16, 74, 1}, 1.1095 + {5, 20, 110, 1} 1.1096 +}; 1.1097 + 1.1098 +static const char gTranslateStrings[] = 1.1099 + "x\0" 1.1100 + "y" 1.1101 +; 1.1102 + 1.1103 +static const SkMemberInfo gTranslateInfo[] = { 1.1104 + {0, 20, 98, 1}, 1.1105 + {2, 24, 98, 1} 1.1106 +}; 1.1107 + 1.1108 +static const char gTypedArrayStrings[] = 1.1109 + "length\0" 1.1110 + "values" 1.1111 +; 1.1112 + 1.1113 +static const SkMemberInfo gTypedArrayInfo[] = { 1.1114 + {0, -1, 67, 96}, 1.1115 + {7, 16, 119, 0} 1.1116 +}; 1.1117 + 1.1118 +static const char gTypefaceStrings[] = 1.1119 + "fontName" 1.1120 +; 1.1121 + 1.1122 +static const SkMemberInfo gTypefaceInfo[] = { 1.1123 + {0, 20, 108, 2} 1.1124 +}; 1.1125 + 1.1126 +static const SkMemberInfo* const gInfoTables[] = { 1.1127 + gMathInfo, 1.1128 + gAddInfo, 1.1129 + gAddCircleInfo, 1.1130 + gUnknown1Info, 1.1131 + gAddOvalInfo, 1.1132 + gAddPathInfo, 1.1133 + gAddRectangleInfo, 1.1134 + gAddRoundRectInfo, 1.1135 + gUnknown2Info, 1.1136 + gAnimateFieldInfo, 1.1137 + gApplyInfo, 1.1138 + gUnknown3Info, 1.1139 + gDrawBitmapInfo, 1.1140 + gDrawBitmapShaderInfo, 1.1141 + gDrawBlurInfo, 1.1142 + gDisplayBoundsInfo, 1.1143 + gDrawClipInfo, 1.1144 + gDrawColorInfo, 1.1145 + gCubicToInfo, 1.1146 + gDashInfo, 1.1147 + gDataInfo, 1.1148 + gDiscreteInfo, 1.1149 + gDrawToInfo, 1.1150 + gDumpInfo, 1.1151 + gDrawEmbossInfo, 1.1152 + gDisplayEventInfo, 1.1153 + gFromPathInfo, 1.1154 + gUnknown4Info, 1.1155 + gGInfo, 1.1156 + gHitClearInfo, 1.1157 + gHitTestInfo, 1.1158 + gImageInfo, 1.1159 + gIncludeInfo, 1.1160 + gInputInfo, 1.1161 + gLineInfo, 1.1162 + gLineToInfo, 1.1163 + gLinearGradientInfo, 1.1164 + gDrawMatrixInfo, 1.1165 + gMoveInfo, 1.1166 + gMoveToInfo, 1.1167 + gMovieInfo, 1.1168 + gOvalInfo, 1.1169 + gDrawPaintInfo, 1.1170 + gDrawPathInfo, 1.1171 + gUnknown5Info, 1.1172 + gDrawPointInfo, 1.1173 + gPolyToPolyInfo, 1.1174 + gPolygonInfo, 1.1175 + gPolylineInfo, 1.1176 + gPostInfo, 1.1177 + gQuadToInfo, 1.1178 + gRCubicToInfo, 1.1179 + gRLineToInfo, 1.1180 + gRMoveToInfo, 1.1181 + gRQuadToInfo, 1.1182 + gRadialGradientInfo, 1.1183 + gDisplayRandomInfo, 1.1184 + gRectToRectInfo, 1.1185 + gRectangleInfo, 1.1186 + gRemoveInfo, 1.1187 + gReplaceInfo, 1.1188 + gRotateInfo, 1.1189 + gRoundRectInfo, 1.1190 + gS32Info, 1.1191 + gScalarInfo, 1.1192 + gScaleInfo, 1.1193 + gSetInfo, 1.1194 + gShaderInfo, 1.1195 + gSkewInfo, 1.1196 + g3D_CameraInfo, 1.1197 + g3D_PatchInfo, 1.1198 + gUnknown6Info, 1.1199 + gSnapshotInfo, 1.1200 + gStringInfo, 1.1201 + gTextInfo, 1.1202 + gTextBoxInfo, 1.1203 + gTextOnPathInfo, 1.1204 + gTextToPathInfo, 1.1205 + gTranslateInfo, 1.1206 + gTypedArrayInfo, 1.1207 + gTypefaceInfo, 1.1208 +}; 1.1209 + 1.1210 +static const unsigned char gInfoCounts[] = { 1.1211 + 26,4,4,1,1,2,5,3,13,1,13,2,6,3,2,2,2,8,6, 1.1212 + 2,2,2,2,6,4,8,3,3,2,1,4,3,1,3,4,2,2,12,1, 1.1213 + 2,1,1,25,3,3,2,2,1,1,6,4,1,1,1,1,3,5,2,7, 1.1214 + 2,1,2,3,1,1,3,8,2,3,7,4,3,4,3,4,6,3,2,2, 1.1215 + 2,1 1.1216 +}; 1.1217 + 1.1218 +static const unsigned char gTypeIDs[] = { 1.1219 + 1, // Math 1.1220 + 2, // Add 1.1221 + 3, // AddCircle 1.1222 + 4, // Unknown1 1.1223 + 5, // AddOval 1.1224 + 6, // AddPath 1.1225 + 7, // AddRectangle 1.1226 + 8, // AddRoundRect 1.1227 + 10, // Unknown2 1.1228 + 11, // AnimateField 1.1229 + 12, // Apply 1.1230 + 17, // Unknown3 1.1231 + 19, // Bitmap 1.1232 + 22, // BitmapShader 1.1233 + 23, // Blur 1.1234 + 25, // Bounds 1.1235 + 29, // Clip 1.1236 + 31, // Color 1.1237 + 32, // CubicTo 1.1238 + 33, // Dash 1.1239 + 34, // Data 1.1240 + 35, // Discrete 1.1241 + 38, // DrawTo 1.1242 + 39, // Dump 1.1243 + 41, // Emboss 1.1244 + 42, // Event 1.1245 + 48, // FromPath 1.1246 + 51, // Unknown4 1.1247 + 52, // G 1.1248 + 53, // HitClear 1.1249 + 54, // HitTest 1.1250 + 55, // Image 1.1251 + 56, // Include 1.1252 + 57, // Input 1.1253 + 59, // Line 1.1254 + 60, // LineTo 1.1255 + 61, // LinearGradient 1.1256 + 65, // Matrix 1.1257 + 68, // Move 1.1258 + 69, // MoveTo 1.1259 + 70, // Movie 1.1260 + 72, // Oval 1.1261 + 73, // Paint 1.1262 + 74, // Path 1.1263 + 77, // Unknown5 1.1264 + 78, // Point 1.1265 + 79, // PolyToPoly 1.1266 + 80, // Polygon 1.1267 + 81, // Polyline 1.1268 + 82, // Post 1.1269 + 83, // QuadTo 1.1270 + 84, // RCubicTo 1.1271 + 85, // RLineTo 1.1272 + 86, // RMoveTo 1.1273 + 87, // RQuadTo 1.1274 + 88, // RadialGradient 1.1275 + 89, // Random 1.1276 + 90, // RectToRect 1.1277 + 91, // Rectangle 1.1278 + 92, // Remove 1.1279 + 93, // Replace 1.1280 + 94, // Rotate 1.1281 + 95, // RoundRect 1.1282 + 96, // S32 1.1283 + 98, // Scalar 1.1284 + 99, // Scale 1.1285 + 101, // Set 1.1286 + 102, // Shader 1.1287 + 103, // Skew 1.1288 + 104, // 3D_Camera 1.1289 + 105, // 3D_Patch 1.1290 + 106, // Unknown6 1.1291 + 107, // Snapshot 1.1292 + 108, // String 1.1293 + 110, // Text 1.1294 + 111, // TextBox 1.1295 + 114, // TextOnPath 1.1296 + 115, // TextToPath 1.1297 + 117, // Translate 1.1298 + 119, // TypedArray 1.1299 + 120, // Typeface 1.1300 + 1.1301 +}; 1.1302 + 1.1303 +static const int kTypeIDs = 81; 1.1304 + 1.1305 +static const char* const gInfoNames[] = { 1.1306 + gMathStrings, 1.1307 + gAddStrings, 1.1308 + gAddCircleStrings, 1.1309 + gUnknown1Strings, 1.1310 + gAddOvalStrings, 1.1311 + gAddPathStrings, 1.1312 + gAddRectangleStrings, 1.1313 + gAddRoundRectStrings, 1.1314 + gUnknown2Strings, 1.1315 + gAnimateFieldStrings, 1.1316 + gApplyStrings, 1.1317 + gUnknown3Strings, 1.1318 + gBitmapStrings, 1.1319 + gBitmapShaderStrings, 1.1320 + gBlurStrings, 1.1321 + gBoundsStrings, 1.1322 + gClipStrings, 1.1323 + gColorStrings, 1.1324 + gCubicToStrings, 1.1325 + gDashStrings, 1.1326 + gDataStrings, 1.1327 + gDiscreteStrings, 1.1328 + gDrawToStrings, 1.1329 + gDumpStrings, 1.1330 + gEmbossStrings, 1.1331 + gEventStrings, 1.1332 + gFromPathStrings, 1.1333 + gUnknown4Strings, 1.1334 + gGStrings, 1.1335 + gHitClearStrings, 1.1336 + gHitTestStrings, 1.1337 + gImageStrings, 1.1338 + gIncludeStrings, 1.1339 + gInputStrings, 1.1340 + gLineStrings, 1.1341 + gLineToStrings, 1.1342 + gLinearGradientStrings, 1.1343 + gMatrixStrings, 1.1344 + gMoveStrings, 1.1345 + gMoveToStrings, 1.1346 + gMovieStrings, 1.1347 + gOvalStrings, 1.1348 + gPaintStrings, 1.1349 + gPathStrings, 1.1350 + gUnknown5Strings, 1.1351 + gPointStrings, 1.1352 + gPolyToPolyStrings, 1.1353 + gPolygonStrings, 1.1354 + gPolylineStrings, 1.1355 + gPostStrings, 1.1356 + gQuadToStrings, 1.1357 + gRCubicToStrings, 1.1358 + gRLineToStrings, 1.1359 + gRMoveToStrings, 1.1360 + gRQuadToStrings, 1.1361 + gRadialGradientStrings, 1.1362 + gRandomStrings, 1.1363 + gRectToRectStrings, 1.1364 + gRectangleStrings, 1.1365 + gRemoveStrings, 1.1366 + gReplaceStrings, 1.1367 + gRotateStrings, 1.1368 + gRoundRectStrings, 1.1369 + gS32Strings, 1.1370 + gScalarStrings, 1.1371 + gScaleStrings, 1.1372 + gSetStrings, 1.1373 + gShaderStrings, 1.1374 + gSkewStrings, 1.1375 + g3D_CameraStrings, 1.1376 + g3D_PatchStrings, 1.1377 + gUnknown6Strings, 1.1378 + gSnapshotStrings, 1.1379 + gStringStrings, 1.1380 + gTextStrings, 1.1381 + gTextBoxStrings, 1.1382 + gTextOnPathStrings, 1.1383 + gTextToPathStrings, 1.1384 + gTranslateStrings, 1.1385 + gTypedArrayStrings, 1.1386 + gTypefaceStrings 1.1387 +}; 1.1388 + 1.1389 +#endif 1.1390 +#endif