Index: experimental/svg/model/SkSVGLinearGradient.h |
diff --git a/experimental/svg/model/SkSVGLinearGradient.h b/experimental/svg/model/SkSVGLinearGradient.h |
index e12b5245e80f8e25d766f91422cc9fdc7a1354cc..2e4e3f5deec5e24d5ec2ce0007c36900c8e1cde0 100644 |
--- a/experimental/svg/model/SkSVGLinearGradient.h |
+++ b/experimental/svg/model/SkSVGLinearGradient.h |
@@ -19,6 +19,7 @@ public: |
} |
void setHref(const SkSVGStringType&); |
+ void setGradientTransform(const SkSVGTransformType&); |
void setSpreadMethod(const SkSVGSpreadMethod&); |
void setX1(const SkSVGLength&); |
void setY1(const SkSVGLength&); |
@@ -42,8 +43,9 @@ private: |
SkSVGLength fX2 = SkSVGLength(100, SkSVGLength::Unit::kPercentage); |
SkSVGLength fY2 = SkSVGLength(0 , SkSVGLength::Unit::kPercentage); |
- SkSVGStringType fHref; |
- SkSVGSpreadMethod fSpreadMethod = SkSVGSpreadMethod(SkSVGSpreadMethod::Type::kPad); |
+ SkSVGStringType fHref; |
+ SkSVGTransformType fGradientTransform = SkSVGTransformType(SkMatrix::I()); |
+ SkSVGSpreadMethod fSpreadMethod = SkSVGSpreadMethod(SkSVGSpreadMethod::Type::kPad); |
typedef SkSVGHiddenContainer INHERITED; |
}; |