SVG - support radialGradient fr attribute

This commit is contained in:
janekptacijarabaci 2017-08-17 20:27:14 +02:00 committed by Roy Tam
commit 4ba6ca9106
10 changed files with 103 additions and 13 deletions

View file

@ -139,13 +139,14 @@ public:
already_AddRefed<SVGAnimatedLength> R();
already_AddRefed<SVGAnimatedLength> Fx();
already_AddRefed<SVGAnimatedLength> Fy();
already_AddRefed<SVGAnimatedLength> Fr();
protected:
virtual LengthAttributesInfo GetLengthInfo() override;
enum { ATTR_CX, ATTR_CY, ATTR_R, ATTR_FX, ATTR_FY };
nsSVGLength2 mLengthAttributes[5];
static LengthInfo sLengthInfo[5];
enum { ATTR_CX, ATTR_CY, ATTR_R, ATTR_FX, ATTR_FY, ATTR_FR };
nsSVGLength2 mLengthAttributes[6];
static LengthInfo sLengthInfo[6];
};
} // namespace dom