michael@0: michael@0: /* michael@0: * Copyright 2006 The Android Open Source Project michael@0: * michael@0: * Use of this source code is governed by a BSD-style license that can be michael@0: * found in the LICENSE file. michael@0: */ michael@0: michael@0: michael@0: #include "SkTypes.h" michael@0: #ifndef SK_BUILD_FOR_UNIX michael@0: #ifdef SK_DEBUG michael@0: // This file was automatically generated. michael@0: // To change it, edit the file with the matching debug info. michael@0: // Then execute SkDisplayType::BuildCondensedInfo() to regenerate this file. michael@0: michael@0: static const char gMathStrings[] = michael@0: "E\0" michael@0: "LN10\0" michael@0: "LN2\0" michael@0: "LOG10E\0" michael@0: "LOG2E\0" michael@0: "PI\0" michael@0: "SQRT1_2\0" michael@0: "SQRT2\0" michael@0: "abs\0" michael@0: "acos\0" michael@0: "asin\0" michael@0: "atan\0" michael@0: "atan2\0" michael@0: "ceil\0" michael@0: "cos\0" michael@0: "exp\0" michael@0: "floor\0" michael@0: "log\0" michael@0: "max\0" michael@0: "min\0" michael@0: "pow\0" michael@0: "random\0" michael@0: "round\0" michael@0: "sin\0" michael@0: "sqrt\0" michael@0: "tan" michael@0: ; michael@0: michael@0: static const SkMemberInfo gMathInfo[] = { michael@0: {0, -1, 67, 98}, michael@0: {2, -2, 67, 98}, michael@0: {7, -3, 67, 98}, michael@0: {11, -4, 67, 98}, michael@0: {18, -5, 67, 98}, michael@0: {24, -6, 67, 98}, michael@0: {27, -7, 67, 98}, michael@0: {35, -8, 67, 98}, michael@0: {41, -1, 66, 98}, michael@0: {45, -2, 66, 98}, michael@0: {50, -3, 66, 98}, michael@0: {55, -4, 66, 98}, michael@0: {60, -5, 66, 98}, michael@0: {66, -6, 66, 98}, michael@0: {71, -7, 66, 98}, michael@0: {75, -8, 66, 98}, michael@0: {79, -9, 66, 98}, michael@0: {85, -10, 66, 98}, michael@0: {89, -11, 66, 98}, michael@0: {93, -12, 66, 98}, michael@0: {97, -13, 66, 98}, michael@0: {101, -14, 66, 98}, michael@0: {108, -15, 66, 98}, michael@0: {114, -16, 66, 98}, michael@0: {118, -17, 66, 98}, michael@0: {123, -18, 66, 98} michael@0: }; michael@0: michael@0: static const char gAddStrings[] = michael@0: "inPlace\0" michael@0: "offset\0" michael@0: "use\0" michael@0: "where" michael@0: ; michael@0: michael@0: static const SkMemberInfo gAddInfo[] = { michael@0: {0, 16, 26, 1}, michael@0: {8, 20, 96, 1}, michael@0: {15, 24, 37, 1}, michael@0: {19, 28, 37, 1} michael@0: }; michael@0: michael@0: static const char gAddCircleStrings[] = michael@0: "\0" michael@0: "radius\0" michael@0: "x\0" michael@0: "y" michael@0: ; michael@0: michael@0: static const SkMemberInfo gAddCircleInfo[] = { michael@0: {0, 3, 18, 1}, michael@0: {1, 24, 98, 1}, michael@0: {8, 28, 98, 1}, michael@0: {10, 32, 98, 1} michael@0: }; michael@0: michael@0: static const char gUnknown1Strings[] = michael@0: "direction" michael@0: ; michael@0: michael@0: static const SkMemberInfo gUnknown1Info[] = { michael@0: {0, 20, 75, 1} michael@0: }; michael@0: michael@0: static const char gAddOvalStrings[] = michael@0: "" michael@0: ; michael@0: michael@0: static const SkMemberInfo gAddOvalInfo[] = { michael@0: {0, 6, 18, 5} michael@0: }; michael@0: michael@0: static const char gAddPathStrings[] = michael@0: "matrix\0" michael@0: "path" michael@0: ; michael@0: michael@0: static const SkMemberInfo gAddPathInfo[] = { michael@0: {0, 20, 65, 1}, michael@0: {7, 24, 74, 1} michael@0: }; michael@0: michael@0: static const char gAddRectangleStrings[] = michael@0: "\0" michael@0: "bottom\0" michael@0: "left\0" michael@0: "right\0" michael@0: "top" michael@0: ; michael@0: michael@0: static const SkMemberInfo gAddRectangleInfo[] = { michael@0: {0, 3, 18, 1}, michael@0: {1, 36, 98, 1}, michael@0: {8, 24, 98, 1}, michael@0: {13, 32, 98, 1}, michael@0: {19, 28, 98, 1} michael@0: }; michael@0: michael@0: static const char gAddRoundRectStrings[] = michael@0: "\0" michael@0: "rx\0" michael@0: "ry" michael@0: ; michael@0: michael@0: static const SkMemberInfo gAddRoundRectInfo[] = { michael@0: {0, 6, 18, 5}, michael@0: {1, 40, 98, 1}, michael@0: {4, 44, 98, 1} michael@0: }; michael@0: michael@0: static const char gUnknown2Strings[] = michael@0: "begin\0" michael@0: "blend\0" michael@0: "dur\0" michael@0: "dynamic\0" michael@0: "field\0" michael@0: "formula\0" michael@0: "from\0" michael@0: "mirror\0" michael@0: "repeat\0" michael@0: "reset\0" michael@0: "target\0" michael@0: "to\0" michael@0: "values" michael@0: ; michael@0: michael@0: static const SkMemberInfo gUnknown2Info[] = { michael@0: {0, 16, 71, 1}, michael@0: {6, 20, 119, 98}, michael@0: {12, 36, 71, 1}, michael@0: {16, -1, 67, 26}, michael@0: {24, 40, 108, 2}, michael@0: {30, 48, 40, 2}, michael@0: {38, 56, 40, 2}, michael@0: {43, -2, 67, 26}, michael@0: {50, 64, 98, 1}, michael@0: {57, -3, 67, 26}, michael@0: {63, 68, 40, 2}, michael@0: {70, 76, 40, 2}, michael@0: {73, -4, 67, 40} michael@0: }; michael@0: michael@0: static const char gAnimateFieldStrings[] = michael@0: "" michael@0: ; michael@0: michael@0: static const SkMemberInfo gAnimateFieldInfo[] = { michael@0: {0, 8, 18, 13} michael@0: }; michael@0: michael@0: static const char gApplyStrings[] = michael@0: "animator\0" michael@0: "begin\0" michael@0: "dontDraw\0" michael@0: "dynamicScope\0" michael@0: "interval\0" michael@0: "mode\0" michael@0: "pickup\0" michael@0: "restore\0" michael@0: "scope\0" michael@0: "step\0" michael@0: "steps\0" michael@0: "time\0" michael@0: "transition" michael@0: ; michael@0: michael@0: static const SkMemberInfo gApplyInfo[] = { michael@0: {0, -1, 67, 10}, michael@0: {9, 16, 71, 1}, michael@0: {15, 20, 26, 1}, michael@0: {24, 24, 108, 2}, michael@0: {37, 32, 71, 1}, michael@0: {46, 36, 13, 1}, michael@0: {51, 40, 26, 1}, michael@0: {58, 44, 26, 1}, michael@0: {66, 48, 37, 1}, michael@0: {72, -2, 67, 96}, michael@0: {77, 52, 96, 1}, michael@0: {83, -3, 67, 71}, michael@0: {88, 56, 14, 1} michael@0: }; michael@0: michael@0: static const char gUnknown3Strings[] = michael@0: "x\0" michael@0: "y" michael@0: ; michael@0: michael@0: static const SkMemberInfo gUnknown3Info[] = { michael@0: {0, 48, 98, 1}, michael@0: {2, 52, 98, 1} michael@0: }; michael@0: michael@0: static const char gBitmapStrings[] = michael@0: "\0" michael@0: "erase\0" michael@0: "format\0" michael@0: "height\0" michael@0: "rowBytes\0" michael@0: "width" michael@0: ; michael@0: michael@0: static const SkMemberInfo gDrawBitmapInfo[] = { michael@0: {0, 11, 18, 2}, michael@0: {1, -1, 67, 15}, michael@0: {7, 56, 21, 1}, michael@0: {14, 60, 96, 1}, michael@0: {21, 64, 96, 1}, michael@0: {30, 68, 96, 1} michael@0: }; michael@0: michael@0: static const char gBitmapShaderStrings[] = michael@0: "\0" michael@0: "filterType\0" michael@0: "image" michael@0: ; michael@0: michael@0: static const SkMemberInfo gDrawBitmapShaderInfo[] = { michael@0: {0, 67, 18, 2}, michael@0: {1, 28, 47, 1}, michael@0: {12, 32, 17, 1} michael@0: }; michael@0: michael@0: static const char gBlurStrings[] = michael@0: "blurStyle\0" michael@0: "radius" michael@0: ; michael@0: michael@0: static const SkMemberInfo gDrawBlurInfo[] = { michael@0: {0, 24, 63, 1}, michael@0: {10, 20, 98, 1} michael@0: }; michael@0: michael@0: static const char gBoundsStrings[] = michael@0: "\0" michael@0: "inval" michael@0: ; michael@0: michael@0: static const SkMemberInfo gDisplayBoundsInfo[] = { michael@0: {0, 58, 18, 7}, michael@0: {1, 44, 26, 1} michael@0: }; michael@0: michael@0: static const char gClipStrings[] = michael@0: "path\0" michael@0: "rectangle" michael@0: ; michael@0: michael@0: static const SkMemberInfo gDrawClipInfo[] = { michael@0: {0, 20, 74, 1}, michael@0: {5, 16, 91, 1} michael@0: }; michael@0: michael@0: static const char gColorStrings[] = michael@0: "alpha\0" michael@0: "blue\0" michael@0: "color\0" michael@0: "green\0" michael@0: "hue\0" michael@0: "red\0" michael@0: "saturation\0" michael@0: "value" michael@0: ; michael@0: michael@0: static const SkMemberInfo gDrawColorInfo[] = { michael@0: {0, -1, 67, 98}, michael@0: {6, -2, 67, 98}, michael@0: {11, 20, 15, 1}, michael@0: {17, -3, 67, 98}, michael@0: {23, -4, 67, 98}, michael@0: {27, -5, 67, 98}, michael@0: {31, -6, 67, 98}, michael@0: {42, -7, 67, 98} michael@0: }; michael@0: michael@0: static const char gCubicToStrings[] = michael@0: "x1\0" michael@0: "x2\0" michael@0: "x3\0" michael@0: "y1\0" michael@0: "y2\0" michael@0: "y3" michael@0: ; michael@0: michael@0: static const SkMemberInfo gCubicToInfo[] = { michael@0: {0, 20, 98, 1}, michael@0: {3, 28, 98, 1}, michael@0: {6, 36, 98, 1}, michael@0: {9, 24, 98, 1}, michael@0: {12, 32, 98, 1}, michael@0: {15, 40, 98, 1} michael@0: }; michael@0: michael@0: static const char gDashStrings[] = michael@0: "intervals\0" michael@0: "phase" michael@0: ; michael@0: michael@0: static const SkMemberInfo gDashInfo[] = { michael@0: {0, 20, 119, 98}, michael@0: {10, 36, 98, 1} michael@0: }; michael@0: michael@0: static const char gDataStrings[] = michael@0: "\0" michael@0: "name" michael@0: ; michael@0: michael@0: static const SkMemberInfo gDataInfo[] = { michael@0: {0, 33, 18, 3}, michael@0: {1, 32, 108, 2} michael@0: }; michael@0: michael@0: static const char gDiscreteStrings[] = michael@0: "deviation\0" michael@0: "segLength" michael@0: ; michael@0: michael@0: static const SkMemberInfo gDiscreteInfo[] = { michael@0: {0, 20, 98, 1}, michael@0: {10, 24, 98, 1} michael@0: }; michael@0: michael@0: static const char gDrawToStrings[] = michael@0: "drawOnce\0" michael@0: "use" michael@0: ; michael@0: michael@0: static const SkMemberInfo gDrawToInfo[] = { michael@0: {0, 72, 26, 1}, michael@0: {9, 76, 19, 1} michael@0: }; michael@0: michael@0: static const char gDumpStrings[] = michael@0: "displayList\0" michael@0: "eventList\0" michael@0: "events\0" michael@0: "groups\0" michael@0: "name\0" michael@0: "posts" michael@0: ; michael@0: michael@0: static const SkMemberInfo gDumpInfo[] = { michael@0: {0, 16, 26, 1}, michael@0: {12, 20, 26, 1}, michael@0: {22, 24, 26, 1}, michael@0: {29, 36, 26, 1}, michael@0: {36, 28, 108, 2}, michael@0: {41, 40, 26, 1} michael@0: }; michael@0: michael@0: static const char gEmbossStrings[] = michael@0: "ambient\0" michael@0: "direction\0" michael@0: "radius\0" michael@0: "specular" michael@0: ; michael@0: michael@0: static const SkMemberInfo gDrawEmbossInfo[] = { michael@0: {0, -1, 67, 98}, michael@0: {8, 20, 119, 98}, michael@0: {18, 36, 98, 1}, michael@0: {25, -2, 67, 98} michael@0: }; michael@0: michael@0: static const char gEventStrings[] = michael@0: "code\0" michael@0: "disable\0" michael@0: "key\0" michael@0: "keys\0" michael@0: "kind\0" michael@0: "target\0" michael@0: "x\0" michael@0: "y" michael@0: ; michael@0: michael@0: static const SkMemberInfo gDisplayEventInfo[] = { michael@0: {0, 16, 43, 1}, michael@0: {5, 20, 26, 1}, michael@0: {13, -1, 67, 108}, michael@0: {17, -2, 67, 108}, michael@0: {22, 24, 44, 1}, michael@0: {27, 28, 108, 2}, michael@0: {34, 36, 98, 1}, michael@0: {36, 40, 98, 1} michael@0: }; michael@0: michael@0: static const char gFromPathStrings[] = michael@0: "mode\0" michael@0: "offset\0" michael@0: "path" michael@0: ; michael@0: michael@0: static const SkMemberInfo gFromPathInfo[] = { michael@0: {0, 20, 49, 1}, michael@0: {5, 24, 98, 1}, michael@0: {12, 28, 74, 1} michael@0: }; michael@0: michael@0: static const char gUnknown4Strings[] = michael@0: "\0" michael@0: "offsets\0" michael@0: "unitMapper" michael@0: ; michael@0: michael@0: static const SkMemberInfo gUnknown4Info[] = { michael@0: {0, 67, 18, 2}, michael@0: {1, 28, 119, 98}, michael@0: {9, 44, 108, 2} michael@0: }; michael@0: michael@0: static const char gGStrings[] = michael@0: "condition\0" michael@0: "enableCondition" michael@0: ; michael@0: michael@0: static const SkMemberInfo gGInfo[] = { michael@0: {0, 16, 40, 2}, michael@0: {10, 24, 40, 2} michael@0: }; michael@0: michael@0: static const char gHitClearStrings[] = michael@0: "targets" michael@0: ; michael@0: michael@0: static const SkMemberInfo gHitClearInfo[] = { michael@0: {0, 16, 119, 36} michael@0: }; michael@0: michael@0: static const char gHitTestStrings[] = michael@0: "bullets\0" michael@0: "hits\0" michael@0: "targets\0" michael@0: "value" michael@0: ; michael@0: michael@0: static const SkMemberInfo gHitTestInfo[] = { michael@0: {0, 16, 119, 36}, michael@0: {8, 32, 119, 96}, michael@0: {13, 48, 119, 36}, michael@0: {21, 64, 26, 1} michael@0: }; michael@0: michael@0: static const char gImageStrings[] = michael@0: "\0" michael@0: "base64\0" michael@0: "src" michael@0: ; michael@0: michael@0: static const SkMemberInfo gImageInfo[] = { michael@0: {0, 11, 18, 2}, michael@0: {1, 56, 16, 2}, michael@0: {8, 64, 108, 2} michael@0: }; michael@0: michael@0: static const char gIncludeStrings[] = michael@0: "src" michael@0: ; michael@0: michael@0: static const SkMemberInfo gIncludeInfo[] = { michael@0: {0, 16, 108, 2} michael@0: }; michael@0: michael@0: static const char gInputStrings[] = michael@0: "s32\0" michael@0: "scalar\0" michael@0: "string" michael@0: ; michael@0: michael@0: static const SkMemberInfo gInputInfo[] = { michael@0: {0, 16, 96, 1}, michael@0: {4, 20, 98, 1}, michael@0: {11, 24, 108, 2} michael@0: }; michael@0: michael@0: static const char gLineStrings[] = michael@0: "x1\0" michael@0: "x2\0" michael@0: "y1\0" michael@0: "y2" michael@0: ; michael@0: michael@0: static const SkMemberInfo gLineInfo[] = { michael@0: {0, 24, 98, 1}, michael@0: {3, 28, 98, 1}, michael@0: {6, 32, 98, 1}, michael@0: {9, 36, 98, 1} michael@0: }; michael@0: michael@0: static const char gLineToStrings[] = michael@0: "x\0" michael@0: "y" michael@0: ; michael@0: michael@0: static const SkMemberInfo gLineToInfo[] = { michael@0: {0, 20, 98, 1}, michael@0: {2, 24, 98, 1} michael@0: }; michael@0: michael@0: static const char gLinearGradientStrings[] = michael@0: "\0" michael@0: "points" michael@0: ; michael@0: michael@0: static const SkMemberInfo gLinearGradientInfo[] = { michael@0: {0, 27, 18, 3}, michael@0: {1, 88, 77, 4} michael@0: }; michael@0: michael@0: static const char gMatrixStrings[] = michael@0: "matrix\0" michael@0: "perspectX\0" michael@0: "perspectY\0" michael@0: "rotate\0" michael@0: "scale\0" michael@0: "scaleX\0" michael@0: "scaleY\0" michael@0: "skewX\0" michael@0: "skewY\0" michael@0: "translate\0" michael@0: "translateX\0" michael@0: "translateY" michael@0: ; michael@0: michael@0: static const SkMemberInfo gDrawMatrixInfo[] = { michael@0: {0, 16, 119, 98}, michael@0: {7, -1, 67, 98}, michael@0: {17, -2, 67, 98}, michael@0: {27, -3, 67, 98}, michael@0: {34, -4, 67, 98}, michael@0: {40, -5, 67, 98}, michael@0: {47, -6, 67, 98}, michael@0: {54, -7, 67, 98}, michael@0: {60, -8, 67, 98}, michael@0: {66, -9, 67, 77}, michael@0: {76, -10, 67, 98}, michael@0: {87, -11, 67, 98} michael@0: }; michael@0: michael@0: static const char gMoveStrings[] = michael@0: "" michael@0: ; michael@0: michael@0: static const SkMemberInfo gMoveInfo[] = { michael@0: {0, 1, 18, 4} michael@0: }; michael@0: michael@0: static const char gMoveToStrings[] = michael@0: "x\0" michael@0: "y" michael@0: ; michael@0: michael@0: static const SkMemberInfo gMoveToInfo[] = { michael@0: {0, 20, 98, 1}, michael@0: {2, 24, 98, 1} michael@0: }; michael@0: michael@0: static const char gMovieStrings[] = michael@0: "src" michael@0: ; michael@0: michael@0: static const SkMemberInfo gMovieInfo[] = { michael@0: {0, 16, 108, 2} michael@0: }; michael@0: michael@0: static const char gOvalStrings[] = michael@0: "" michael@0: ; michael@0: michael@0: static const SkMemberInfo gOvalInfo[] = { michael@0: {0, 58, 18, 7} michael@0: }; michael@0: michael@0: static const char gPaintStrings[] = michael@0: "antiAlias\0" michael@0: "ascent\0" michael@0: "color\0" michael@0: "descent\0" michael@0: "filterType\0" michael@0: "linearText\0" michael@0: "maskFilter\0" michael@0: "measureText\0" michael@0: "pathEffect\0" michael@0: "shader\0" michael@0: "strikeThru\0" michael@0: "stroke\0" michael@0: "strokeCap\0" michael@0: "strokeJoin\0" michael@0: "strokeMiter\0" michael@0: "strokeWidth\0" michael@0: "style\0" michael@0: "textAlign\0" michael@0: "textScaleX\0" michael@0: "textSize\0" michael@0: "textSkewX\0" michael@0: "textTracking\0" michael@0: "typeface\0" michael@0: "underline\0" michael@0: "xfermode" michael@0: ; michael@0: michael@0: static const SkMemberInfo gDrawPaintInfo[] = { michael@0: {0, 16, 26, 1}, michael@0: {10, -1, 67, 98}, michael@0: {17, 20, 31, 1}, michael@0: {23, -2, 67, 98}, michael@0: {31, 24, 47, 1}, michael@0: {42, 28, 26, 1}, michael@0: {53, 32, 62, 1}, michael@0: {64, -1, 66, 98}, michael@0: {76, 36, 76, 1}, michael@0: {87, 40, 102, 1}, michael@0: {94, 44, 26, 1}, michael@0: {105, 48, 26, 1}, michael@0: {112, 52, 27, 1}, michael@0: {122, 56, 58, 1}, michael@0: {133, 60, 98, 1}, michael@0: {145, 64, 98, 1}, michael@0: {157, 68, 109, 1}, michael@0: {163, 72, 9, 1}, michael@0: {173, 76, 98, 1}, michael@0: {184, 80, 98, 1}, michael@0: {193, 84, 98, 1}, michael@0: {203, 88, 98, 1}, michael@0: {216, 92, 120, 1}, michael@0: {225, 96, 26, 1}, michael@0: {235, 100, 121, 1} michael@0: }; michael@0: michael@0: static const char gPathStrings[] = michael@0: "d\0" michael@0: "fillType\0" michael@0: "length" michael@0: ; michael@0: michael@0: static const SkMemberInfo gDrawPathInfo[] = { michael@0: {0, 52, 108, 2}, michael@0: {2, -1, 67, 46}, michael@0: {11, -2, 67, 98} michael@0: }; michael@0: michael@0: static const char gUnknown5Strings[] = michael@0: "x\0" michael@0: "y\0" michael@0: "z" michael@0: ; michael@0: michael@0: static const SkMemberInfo gUnknown5Info[] = { michael@0: {0, 0, 98, 1}, michael@0: {2, 4, 98, 1}, michael@0: {4, 8, 98, 1} michael@0: }; michael@0: michael@0: static const char gPointStrings[] = michael@0: "x\0" michael@0: "y" michael@0: ; michael@0: michael@0: static const SkMemberInfo gDrawPointInfo[] = { michael@0: {0, 16, 98, 1}, michael@0: {2, 20, 98, 1} michael@0: }; michael@0: michael@0: static const char gPolyToPolyStrings[] = michael@0: "destination\0" michael@0: "source" michael@0: ; michael@0: michael@0: static const SkMemberInfo gPolyToPolyInfo[] = { michael@0: {0, 24, 80, 1}, michael@0: {12, 20, 80, 1} michael@0: }; michael@0: michael@0: static const char gPolygonStrings[] = michael@0: "" michael@0: ; michael@0: michael@0: static const SkMemberInfo gPolygonInfo[] = { michael@0: {0, 48, 18, 1} michael@0: }; michael@0: michael@0: static const char gPolylineStrings[] = michael@0: "points" michael@0: ; michael@0: michael@0: static const SkMemberInfo gPolylineInfo[] = { michael@0: {0, 88, 119, 98} michael@0: }; michael@0: michael@0: static const char gPostStrings[] = michael@0: "delay\0" michael@0: "initialized\0" michael@0: "mode\0" michael@0: "sink\0" michael@0: "target\0" michael@0: "type" michael@0: ; michael@0: michael@0: static const SkMemberInfo gPostInfo[] = { michael@0: {0, 16, 71, 1}, michael@0: {6, 20, 26, 1}, michael@0: {18, 24, 45, 1}, michael@0: {23, -1, 67, 108}, michael@0: {28, -2, 67, 108}, michael@0: {35, -3, 67, 108} michael@0: }; michael@0: michael@0: static const char gQuadToStrings[] = michael@0: "x1\0" michael@0: "x2\0" michael@0: "y1\0" michael@0: "y2" michael@0: ; michael@0: michael@0: static const SkMemberInfo gQuadToInfo[] = { michael@0: {0, 20, 98, 1}, michael@0: {3, 28, 98, 1}, michael@0: {6, 24, 98, 1}, michael@0: {9, 32, 98, 1} michael@0: }; michael@0: michael@0: static const char gRCubicToStrings[] = michael@0: "" michael@0: ; michael@0: michael@0: static const SkMemberInfo gRCubicToInfo[] = { michael@0: {0, 18, 18, 6} michael@0: }; michael@0: michael@0: static const char gRLineToStrings[] = michael@0: "" michael@0: ; michael@0: michael@0: static const SkMemberInfo gRLineToInfo[] = { michael@0: {0, 35, 18, 2} michael@0: }; michael@0: michael@0: static const char gRMoveToStrings[] = michael@0: "" michael@0: ; michael@0: michael@0: static const SkMemberInfo gRMoveToInfo[] = { michael@0: {0, 39, 18, 2} michael@0: }; michael@0: michael@0: static const char gRQuadToStrings[] = michael@0: "" michael@0: ; michael@0: michael@0: static const SkMemberInfo gRQuadToInfo[] = { michael@0: {0, 50, 18, 4} michael@0: }; michael@0: michael@0: static const char gRadialGradientStrings[] = michael@0: "\0" michael@0: "center\0" michael@0: "radius" michael@0: ; michael@0: michael@0: static const SkMemberInfo gRadialGradientInfo[] = { michael@0: {0, 27, 18, 3}, michael@0: {1, 88, 77, 2}, michael@0: {8, 96, 98, 1} michael@0: }; michael@0: michael@0: static const char gRandomStrings[] = michael@0: "blend\0" michael@0: "max\0" michael@0: "min\0" michael@0: "random\0" michael@0: "seed" michael@0: ; michael@0: michael@0: static const SkMemberInfo gDisplayRandomInfo[] = { michael@0: {0, 16, 98, 1}, michael@0: {6, 24, 98, 1}, michael@0: {10, 20, 98, 1}, michael@0: {14, 1, 67, 98}, michael@0: {21, -2, 67, 96} michael@0: }; michael@0: michael@0: static const char gRectToRectStrings[] = michael@0: "destination\0" michael@0: "source" michael@0: ; michael@0: michael@0: static const SkMemberInfo gRectToRectInfo[] = { michael@0: {0, 24, 91, 1}, michael@0: {12, 20, 91, 1} michael@0: }; michael@0: michael@0: static const char gRectangleStrings[] = michael@0: "bottom\0" michael@0: "height\0" michael@0: "left\0" michael@0: "needsRedraw\0" michael@0: "right\0" michael@0: "top\0" michael@0: "width" michael@0: ; michael@0: michael@0: static const SkMemberInfo gRectangleInfo[] = { michael@0: {0, 36, 98, 1}, michael@0: {7, -1, 67, 98}, michael@0: {14, 24, 98, 1}, michael@0: {19, -2, 67, 26}, michael@0: {31, 32, 98, 1}, michael@0: {37, 28, 98, 1}, michael@0: {41, -3, 67, 98} michael@0: }; michael@0: michael@0: static const char gRemoveStrings[] = michael@0: "offset\0" michael@0: "where" michael@0: ; michael@0: michael@0: static const SkMemberInfo gRemoveInfo[] = { michael@0: {0, 20, 96, 1}, michael@0: {7, 28, 37, 1} michael@0: }; michael@0: michael@0: static const char gReplaceStrings[] = michael@0: "" michael@0: ; michael@0: michael@0: static const SkMemberInfo gReplaceInfo[] = { michael@0: {0, 1, 18, 4} michael@0: }; michael@0: michael@0: static const char gRotateStrings[] = michael@0: "center\0" michael@0: "degrees" michael@0: ; michael@0: michael@0: static const SkMemberInfo gRotateInfo[] = { michael@0: {0, 24, 77, 2}, michael@0: {7, 20, 98, 1} michael@0: }; michael@0: michael@0: static const char gRoundRectStrings[] = michael@0: "\0" michael@0: "rx\0" michael@0: "ry" michael@0: ; michael@0: michael@0: static const SkMemberInfo gRoundRectInfo[] = { michael@0: {0, 58, 18, 7}, michael@0: {1, 44, 98, 1}, michael@0: {4, 48, 98, 1} michael@0: }; michael@0: michael@0: static const char gS32Strings[] = michael@0: "value" michael@0: ; michael@0: michael@0: static const SkMemberInfo gS32Info[] = { michael@0: {0, 16, 96, 1} michael@0: }; michael@0: michael@0: static const char gScalarStrings[] = michael@0: "value" michael@0: ; michael@0: michael@0: static const SkMemberInfo gScalarInfo[] = { michael@0: {0, 16, 98, 1} michael@0: }; michael@0: michael@0: static const char gScaleStrings[] = michael@0: "center\0" michael@0: "x\0" michael@0: "y" michael@0: ; michael@0: michael@0: static const SkMemberInfo gScaleInfo[] = { michael@0: {0, 28, 77, 2}, michael@0: {7, 20, 98, 1}, michael@0: {9, 24, 98, 1} michael@0: }; michael@0: michael@0: static const char gSetStrings[] = michael@0: "begin\0" michael@0: "dur\0" michael@0: "dynamic\0" michael@0: "field\0" michael@0: "formula\0" michael@0: "reset\0" michael@0: "target\0" michael@0: "to" michael@0: ; michael@0: michael@0: static const SkMemberInfo gSetInfo[] = { michael@0: {0, 16, 71, 1}, michael@0: {6, 36, 71, 1}, michael@0: {10, -1, 67, 26}, michael@0: {18, 40, 108, 2}, michael@0: {24, 48, 40, 2}, michael@0: {32, -3, 67, 26}, michael@0: {38, 68, 40, 2}, michael@0: {45, 76, 40, 2} michael@0: }; michael@0: michael@0: static const char gShaderStrings[] = michael@0: "matrix\0" michael@0: "tileMode" michael@0: ; michael@0: michael@0: static const SkMemberInfo gShaderInfo[] = { michael@0: {0, 20, 65, 1}, michael@0: {7, 24, 116, 1} michael@0: }; michael@0: michael@0: static const char gSkewStrings[] = michael@0: "center\0" michael@0: "x\0" michael@0: "y" michael@0: ; michael@0: michael@0: static const SkMemberInfo gSkewInfo[] = { michael@0: {0, 28, 77, 2}, michael@0: {7, 20, 98, 1}, michael@0: {9, 24, 98, 1} michael@0: }; michael@0: michael@0: static const char g3D_CameraStrings[] = michael@0: "axis\0" michael@0: "hackHeight\0" michael@0: "hackWidth\0" michael@0: "location\0" michael@0: "observer\0" michael@0: "patch\0" michael@0: "zenith" michael@0: ; michael@0: michael@0: static const SkMemberInfo g3D_CameraInfo[] = { michael@0: {0, 36, 106, 3}, michael@0: {5, 20, 98, 1}, michael@0: {16, 16, 98, 1}, michael@0: {26, 24, 106, 3}, michael@0: {35, 60, 106, 3}, michael@0: {44, 108, 105, 1}, michael@0: {50, 48, 106, 3} michael@0: }; michael@0: michael@0: static const char g3D_PatchStrings[] = michael@0: "origin\0" michael@0: "rotateDegrees\0" michael@0: "u\0" michael@0: "v" michael@0: ; michael@0: michael@0: static const SkMemberInfo g3D_PatchInfo[] = { michael@0: {0, 40, 106, 3}, michael@0: {7, -1, 66, 98}, michael@0: {21, 16, 106, 3}, michael@0: {23, 28, 106, 3} michael@0: }; michael@0: michael@0: static const char gUnknown6Strings[] = michael@0: "x\0" michael@0: "y\0" michael@0: "z" michael@0: ; michael@0: michael@0: static const SkMemberInfo gUnknown6Info[] = { michael@0: {0, 0, 98, 1}, michael@0: {2, 4, 98, 1}, michael@0: {4, 8, 98, 1} michael@0: }; michael@0: michael@0: static const char gSnapshotStrings[] = michael@0: "filename\0" michael@0: "quality\0" michael@0: "sequence\0" michael@0: "type" michael@0: ; michael@0: michael@0: static const SkMemberInfo gSnapshotInfo[] = { michael@0: {0, 16, 108, 2}, michael@0: {9, 24, 98, 1}, michael@0: {17, 28, 26, 1}, michael@0: {26, 32, 20, 1} michael@0: }; michael@0: michael@0: static const char gStringStrings[] = michael@0: "length\0" michael@0: "slice\0" michael@0: "value" michael@0: ; michael@0: michael@0: static const SkMemberInfo gStringInfo[] = { michael@0: {0, -1, 67, 96}, michael@0: {7, -1, 66, 108}, michael@0: {13, 16, 108, 2} michael@0: }; michael@0: michael@0: static const char gTextStrings[] = michael@0: "length\0" michael@0: "text\0" michael@0: "x\0" michael@0: "y" michael@0: ; michael@0: michael@0: static const SkMemberInfo gTextInfo[] = { michael@0: {0, -1, 67, 96}, michael@0: {7, 24, 108, 2}, michael@0: {12, 32, 98, 1}, michael@0: {14, 36, 98, 1} michael@0: }; michael@0: michael@0: static const char gTextBoxStrings[] = michael@0: "\0" michael@0: "mode\0" michael@0: "spacingAdd\0" michael@0: "spacingAlign\0" michael@0: "spacingMul\0" michael@0: "text" michael@0: ; michael@0: michael@0: static const SkMemberInfo gTextBoxInfo[] = { michael@0: {0, 58, 18, 7}, michael@0: {1, 60, 113, 1}, michael@0: {6, 56, 98, 1}, michael@0: {17, 64, 112, 1}, michael@0: {30, 52, 98, 1}, michael@0: {41, 44, 108, 2} michael@0: }; michael@0: michael@0: static const char gTextOnPathStrings[] = michael@0: "offset\0" michael@0: "path\0" michael@0: "text" michael@0: ; michael@0: michael@0: static const SkMemberInfo gTextOnPathInfo[] = { michael@0: {0, 24, 98, 1}, michael@0: {7, 28, 74, 1}, michael@0: {12, 32, 110, 1} michael@0: }; michael@0: michael@0: static const char gTextToPathStrings[] = michael@0: "path\0" michael@0: "text" michael@0: ; michael@0: michael@0: static const SkMemberInfo gTextToPathInfo[] = { michael@0: {0, 16, 74, 1}, michael@0: {5, 20, 110, 1} michael@0: }; michael@0: michael@0: static const char gTranslateStrings[] = michael@0: "x\0" michael@0: "y" michael@0: ; michael@0: michael@0: static const SkMemberInfo gTranslateInfo[] = { michael@0: {0, 20, 98, 1}, michael@0: {2, 24, 98, 1} michael@0: }; michael@0: michael@0: static const char gTypedArrayStrings[] = michael@0: "length\0" michael@0: "values" michael@0: ; michael@0: michael@0: static const SkMemberInfo gTypedArrayInfo[] = { michael@0: {0, -1, 67, 96}, michael@0: {7, 16, 119, 0} michael@0: }; michael@0: michael@0: static const char gTypefaceStrings[] = michael@0: "fontName" michael@0: ; michael@0: michael@0: static const SkMemberInfo gTypefaceInfo[] = { michael@0: {0, 20, 108, 2} michael@0: }; michael@0: michael@0: static const SkMemberInfo* const gInfoTables[] = { michael@0: gMathInfo, michael@0: gAddInfo, michael@0: gAddCircleInfo, michael@0: gUnknown1Info, michael@0: gAddOvalInfo, michael@0: gAddPathInfo, michael@0: gAddRectangleInfo, michael@0: gAddRoundRectInfo, michael@0: gUnknown2Info, michael@0: gAnimateFieldInfo, michael@0: gApplyInfo, michael@0: gUnknown3Info, michael@0: gDrawBitmapInfo, michael@0: gDrawBitmapShaderInfo, michael@0: gDrawBlurInfo, michael@0: gDisplayBoundsInfo, michael@0: gDrawClipInfo, michael@0: gDrawColorInfo, michael@0: gCubicToInfo, michael@0: gDashInfo, michael@0: gDataInfo, michael@0: gDiscreteInfo, michael@0: gDrawToInfo, michael@0: gDumpInfo, michael@0: gDrawEmbossInfo, michael@0: gDisplayEventInfo, michael@0: gFromPathInfo, michael@0: gUnknown4Info, michael@0: gGInfo, michael@0: gHitClearInfo, michael@0: gHitTestInfo, michael@0: gImageInfo, michael@0: gIncludeInfo, michael@0: gInputInfo, michael@0: gLineInfo, michael@0: gLineToInfo, michael@0: gLinearGradientInfo, michael@0: gDrawMatrixInfo, michael@0: gMoveInfo, michael@0: gMoveToInfo, michael@0: gMovieInfo, michael@0: gOvalInfo, michael@0: gDrawPaintInfo, michael@0: gDrawPathInfo, michael@0: gUnknown5Info, michael@0: gDrawPointInfo, michael@0: gPolyToPolyInfo, michael@0: gPolygonInfo, michael@0: gPolylineInfo, michael@0: gPostInfo, michael@0: gQuadToInfo, michael@0: gRCubicToInfo, michael@0: gRLineToInfo, michael@0: gRMoveToInfo, michael@0: gRQuadToInfo, michael@0: gRadialGradientInfo, michael@0: gDisplayRandomInfo, michael@0: gRectToRectInfo, michael@0: gRectangleInfo, michael@0: gRemoveInfo, michael@0: gReplaceInfo, michael@0: gRotateInfo, michael@0: gRoundRectInfo, michael@0: gS32Info, michael@0: gScalarInfo, michael@0: gScaleInfo, michael@0: gSetInfo, michael@0: gShaderInfo, michael@0: gSkewInfo, michael@0: g3D_CameraInfo, michael@0: g3D_PatchInfo, michael@0: gUnknown6Info, michael@0: gSnapshotInfo, michael@0: gStringInfo, michael@0: gTextInfo, michael@0: gTextBoxInfo, michael@0: gTextOnPathInfo, michael@0: gTextToPathInfo, michael@0: gTranslateInfo, michael@0: gTypedArrayInfo, michael@0: gTypefaceInfo, michael@0: }; michael@0: michael@0: static const unsigned char gInfoCounts[] = { michael@0: 26,4,4,1,1,2,5,3,13,1,13,2,6,3,2,2,2,8,6, michael@0: 2,2,2,2,6,4,8,3,3,2,1,4,3,1,3,4,2,2,12,1, michael@0: 2,1,1,25,3,3,2,2,1,1,6,4,1,1,1,1,3,5,2,7, michael@0: 2,1,2,3,1,1,3,8,2,3,7,4,3,4,3,4,6,3,2,2, michael@0: 2,1 michael@0: }; michael@0: michael@0: static const unsigned char gTypeIDs[] = { michael@0: 1, // Math michael@0: 2, // Add michael@0: 3, // AddCircle michael@0: 4, // Unknown1 michael@0: 5, // AddOval michael@0: 6, // AddPath michael@0: 7, // AddRectangle michael@0: 8, // AddRoundRect michael@0: 10, // Unknown2 michael@0: 11, // AnimateField michael@0: 12, // Apply michael@0: 17, // Unknown3 michael@0: 19, // Bitmap michael@0: 22, // BitmapShader michael@0: 23, // Blur michael@0: 25, // Bounds michael@0: 29, // Clip michael@0: 31, // Color michael@0: 32, // CubicTo michael@0: 33, // Dash michael@0: 34, // Data michael@0: 35, // Discrete michael@0: 38, // DrawTo michael@0: 39, // Dump michael@0: 41, // Emboss michael@0: 42, // Event michael@0: 48, // FromPath michael@0: 51, // Unknown4 michael@0: 52, // G michael@0: 53, // HitClear michael@0: 54, // HitTest michael@0: 55, // Image michael@0: 56, // Include michael@0: 57, // Input michael@0: 59, // Line michael@0: 60, // LineTo michael@0: 61, // LinearGradient michael@0: 65, // Matrix michael@0: 68, // Move michael@0: 69, // MoveTo michael@0: 70, // Movie michael@0: 72, // Oval michael@0: 73, // Paint michael@0: 74, // Path michael@0: 77, // Unknown5 michael@0: 78, // Point michael@0: 79, // PolyToPoly michael@0: 80, // Polygon michael@0: 81, // Polyline michael@0: 82, // Post michael@0: 83, // QuadTo michael@0: 84, // RCubicTo michael@0: 85, // RLineTo michael@0: 86, // RMoveTo michael@0: 87, // RQuadTo michael@0: 88, // RadialGradient michael@0: 89, // Random michael@0: 90, // RectToRect michael@0: 91, // Rectangle michael@0: 92, // Remove michael@0: 93, // Replace michael@0: 94, // Rotate michael@0: 95, // RoundRect michael@0: 96, // S32 michael@0: 98, // Scalar michael@0: 99, // Scale michael@0: 101, // Set michael@0: 102, // Shader michael@0: 103, // Skew michael@0: 104, // 3D_Camera michael@0: 105, // 3D_Patch michael@0: 106, // Unknown6 michael@0: 107, // Snapshot michael@0: 108, // String michael@0: 110, // Text michael@0: 111, // TextBox michael@0: 114, // TextOnPath michael@0: 115, // TextToPath michael@0: 117, // Translate michael@0: 119, // TypedArray michael@0: 120, // Typeface michael@0: michael@0: }; michael@0: michael@0: static const int kTypeIDs = 81; michael@0: michael@0: static const char* const gInfoNames[] = { michael@0: gMathStrings, michael@0: gAddStrings, michael@0: gAddCircleStrings, michael@0: gUnknown1Strings, michael@0: gAddOvalStrings, michael@0: gAddPathStrings, michael@0: gAddRectangleStrings, michael@0: gAddRoundRectStrings, michael@0: gUnknown2Strings, michael@0: gAnimateFieldStrings, michael@0: gApplyStrings, michael@0: gUnknown3Strings, michael@0: gBitmapStrings, michael@0: gBitmapShaderStrings, michael@0: gBlurStrings, michael@0: gBoundsStrings, michael@0: gClipStrings, michael@0: gColorStrings, michael@0: gCubicToStrings, michael@0: gDashStrings, michael@0: gDataStrings, michael@0: gDiscreteStrings, michael@0: gDrawToStrings, michael@0: gDumpStrings, michael@0: gEmbossStrings, michael@0: gEventStrings, michael@0: gFromPathStrings, michael@0: gUnknown4Strings, michael@0: gGStrings, michael@0: gHitClearStrings, michael@0: gHitTestStrings, michael@0: gImageStrings, michael@0: gIncludeStrings, michael@0: gInputStrings, michael@0: gLineStrings, michael@0: gLineToStrings, michael@0: gLinearGradientStrings, michael@0: gMatrixStrings, michael@0: gMoveStrings, michael@0: gMoveToStrings, michael@0: gMovieStrings, michael@0: gOvalStrings, michael@0: gPaintStrings, michael@0: gPathStrings, michael@0: gUnknown5Strings, michael@0: gPointStrings, michael@0: gPolyToPolyStrings, michael@0: gPolygonStrings, michael@0: gPolylineStrings, michael@0: gPostStrings, michael@0: gQuadToStrings, michael@0: gRCubicToStrings, michael@0: gRLineToStrings, michael@0: gRMoveToStrings, michael@0: gRQuadToStrings, michael@0: gRadialGradientStrings, michael@0: gRandomStrings, michael@0: gRectToRectStrings, michael@0: gRectangleStrings, michael@0: gRemoveStrings, michael@0: gReplaceStrings, michael@0: gRotateStrings, michael@0: gRoundRectStrings, michael@0: gS32Strings, michael@0: gScalarStrings, michael@0: gScaleStrings, michael@0: gSetStrings, michael@0: gShaderStrings, michael@0: gSkewStrings, michael@0: g3D_CameraStrings, michael@0: g3D_PatchStrings, michael@0: gUnknown6Strings, michael@0: gSnapshotStrings, michael@0: gStringStrings, michael@0: gTextStrings, michael@0: gTextBoxStrings, michael@0: gTextOnPathStrings, michael@0: gTextToPathStrings, michael@0: gTranslateStrings, michael@0: gTypedArrayStrings, michael@0: gTypefaceStrings michael@0: }; michael@0: michael@0: #endif michael@0: #endif