Index: Source/core/svg/SVGFELightElement.cpp |
diff --git a/Source/core/svg/SVGFELightElement.cpp b/Source/core/svg/SVGFELightElement.cpp |
index bbda1486b096a864c6ddb8102658c245819ca927..7caacbd172614ca0a57e906970d728e0d28f3915 100644 |
--- a/Source/core/svg/SVGFELightElement.cpp |
+++ b/Source/core/svg/SVGFELightElement.cpp |
@@ -62,6 +62,16 @@ SVGFELightElement* SVGFELightElement::findLightElement(const SVGElement& svgElem |
return Traversal<SVGFELightElement>::firstChild(svgElement); |
} |
+FloatPoint3D SVGFELightElement::position() const |
+{ |
+ return FloatPoint3D(x()->currentValue()->value(), y()->currentValue()->value(), z()->currentValue()->value()); |
+} |
+ |
+FloatPoint3D SVGFELightElement::pointsAt() const |
+{ |
+ return FloatPoint3D(pointsAtX()->currentValue()->value(), pointsAtY()->currentValue()->value(), pointsAtZ()->currentValue()->value()); |
+} |
+ |
bool SVGFELightElement::isSupportedAttribute(const QualifiedName& attrName) |
{ |
DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ()); |