diff options
author | fmalita <fmalita@chromium.org> | 2016-08-08 12:58:57 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-08 12:58:57 -0700 |
commit | c97796b47b2f3e0ca8c04073c1576db21b58eedb (patch) | |
tree | f77603d9a868ee5f9cc2a9d54d67c2ea57a1ff07 /experimental/svg/model/SkSVGTypes.h | |
parent | 9dcdc352c14eb95a833961b22682ed9900059dae (diff) |
[SVGDom] Improved transform parsing
Update 'transform' attribute parsing to a more robust, SkSVGAttributeParser-based implementation.
R=robertphillips@google.com,stephana@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2220933003
Review-Url: https://codereview.chromium.org/2220933003
Diffstat (limited to 'experimental/svg/model/SkSVGTypes.h')
-rw-r--r-- | experimental/svg/model/SkSVGTypes.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/experimental/svg/model/SkSVGTypes.h b/experimental/svg/model/SkSVGTypes.h index ab07d7b16c..b2e2db1076 100644 --- a/experimental/svg/model/SkSVGTypes.h +++ b/experimental/svg/model/SkSVGTypes.h @@ -9,6 +9,7 @@ #define SkSVGTypes_DEFINED #include "SkColor.h" +#include "SkMatrix.h" #include "SkRect.h" #include "SkScalar.h" #include "SkTypes.h" @@ -29,9 +30,10 @@ private: T fValue; }; -using SkSVGColorType = SkSVGPrimitiveTypeWrapper<SkColor >; -using SkSVGNumberType = SkSVGPrimitiveTypeWrapper<SkScalar>; -using SkSVGViewBoxType = SkSVGPrimitiveTypeWrapper<SkRect >; +using SkSVGColorType = SkSVGPrimitiveTypeWrapper<SkColor >; +using SkSVGNumberType = SkSVGPrimitiveTypeWrapper<SkScalar>; +using SkSVGViewBoxType = SkSVGPrimitiveTypeWrapper<SkRect >; +using SkSVGTransformType = SkSVGPrimitiveTypeWrapper<SkMatrix>; class SkSVGLength { public: |