OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 25 matching lines...) Expand all Loading... |
36 | 36 |
37 Path asPath() const override; | 37 Path asPath() const override; |
38 | 38 |
39 float getTotalLength(); | 39 float getTotalLength(); |
40 PassRefPtrWillBeRawPtr<SVGPointTearOff> getPointAtLength(float distance); | 40 PassRefPtrWillBeRawPtr<SVGPointTearOff> getPointAtLength(float distance); |
41 unsigned getPathSegAtLength(float distance); | 41 unsigned getPathSegAtLength(float distance); |
42 | 42 |
43 SVGAnimatedPath* path() { return m_path.get(); } | 43 SVGAnimatedPath* path() { return m_path.get(); } |
44 SVGAnimatedNumber* pathLength() { return m_pathLength.get(); } | 44 SVGAnimatedNumber* pathLength() { return m_pathLength.get(); } |
45 | 45 |
| 46 const SVGPathByteStream& pathByteStream() const; |
| 47 |
| 48 bool isPresentationAttribute(const QualifiedName&) const override; |
| 49 bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const override; |
| 50 |
46 DECLARE_VIRTUAL_TRACE(); | 51 DECLARE_VIRTUAL_TRACE(); |
47 | 52 |
48 private: | 53 private: |
49 explicit SVGPathElement(Document&); | 54 explicit SVGPathElement(Document&); |
50 | 55 |
51 void svgAttributeChanged(const QualifiedName&) override; | 56 void svgAttributeChanged(const QualifiedName&) override; |
52 | 57 |
| 58 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic
String&, MutableStylePropertySet*) override; |
| 59 |
53 Node::InsertionNotificationRequest insertedInto(ContainerNode*) override; | 60 Node::InsertionNotificationRequest insertedInto(ContainerNode*) override; |
54 void removedFrom(ContainerNode* insertionPoint, Node* next) override; | 61 void removedFrom(ContainerNode* insertionPoint, Node* next) override; |
55 | 62 |
56 void invalidateMPathDependencies(); | 63 void invalidateMPathDependencies(); |
57 | 64 |
58 RefPtrWillBeMember<SVGAnimatedNumber> m_pathLength; | 65 RefPtrWillBeMember<SVGAnimatedNumber> m_pathLength; |
59 RefPtrWillBeMember<SVGAnimatedPath> m_path; | 66 RefPtrWillBeMember<SVGAnimatedPath> m_path; |
60 }; | 67 }; |
61 | 68 |
62 } // namespace blink | 69 } // namespace blink |
63 | 70 |
64 #endif // SVGPathElement_h | 71 #endif // SVGPathElement_h |
OLD | NEW |