Index: Source/core/svg/SVGGeometryElement.h |
diff --git a/Source/core/svg/SVGPointList.h b/Source/core/svg/SVGGeometryElement.h |
similarity index 62% |
copy from Source/core/svg/SVGPointList.h |
copy to Source/core/svg/SVGGeometryElement.h |
index a745b10ce071df90d8273db9c39fc65424a3e955..46646d97e77639cbd3afb1bb9d643bb3e79294fb 100644 |
--- a/Source/core/svg/SVGPointList.h |
+++ b/Source/core/svg/SVGGeometryElement.h |
@@ -1,6 +1,5 @@ |
/* |
- * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
- * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> |
+ * Copyright (C) 2013 Samsung Electronics. All rights reserved. |
* |
* This library is free software; you can redistribute it and/or |
* modify it under the terms of the GNU Library General Public |
@@ -18,28 +17,25 @@ |
* Boston, MA 02110-1301, USA. |
*/ |
-#ifndef SVGPointList_h |
-#define SVGPointList_h |
+#ifndef SVGGeometryElement_h |
+#define SVGGeometryElement_h |
+#include "core/svg/SVGGraphicsElement.h" |
#include "core/svg/SVGPoint.h" |
-#include "core/svg/properties/SVGPropertyTraits.h" |
-#include "wtf/Vector.h" |
namespace WebCore { |
-class SVGPointList : public Vector<SVGPoint> { |
+class SVGGeometryElement : public SVGGraphicsElement { |
public: |
- SVGPointList() { } |
+ virtual ~SVGGeometryElement(); |
pdr.
2013/11/09 00:20:08
Is this needed?
|
- String valueAsString() const; |
-}; |
+ bool isPointInFill(const SVGPoint&) const; |
+ bool isPointInStroke(const SVGPoint&) const; |
-template<> |
-struct SVGPropertyTraits<SVGPointList> { |
- static SVGPointList initialValue() { return SVGPointList(); } |
- typedef SVGPoint ListItemType; |
+protected: |
+ SVGGeometryElement(const QualifiedName&, Document&, ConstructionType = CreateSVGElement); |
}; |
} // namespace WebCore |
-#endif |
+#endif // SVGGraphicsElement_h |