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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 SVGPathSegListTearOff* animatedPathSegList() { return m_pathSegList->animVal
(); } | 89 SVGPathSegListTearOff* animatedPathSegList() { return m_pathSegList->animVal
(); } |
90 | 90 |
91 // FIXME: https://bugs.webkit.org/show_bug.cgi?id=15412 - Implement normaliz
ed path segment lists! | 91 // FIXME: https://bugs.webkit.org/show_bug.cgi?id=15412 - Implement normaliz
ed path segment lists! |
92 SVGPathSegListTearOff* normalizedPathSegList() { return nullptr; } | 92 SVGPathSegListTearOff* normalizedPathSegList() { return nullptr; } |
93 SVGPathSegListTearOff* animatedNormalizedPathSegList() { return nullptr; } | 93 SVGPathSegListTearOff* animatedNormalizedPathSegList() { return nullptr; } |
94 | 94 |
95 const SVGPathByteStream* pathByteStream() const { return m_pathSegList->curr
entValue()->byteStream(); } | 95 const SVGPathByteStream* pathByteStream() const { return m_pathSegList->curr
entValue()->byteStream(); } |
96 | 96 |
97 void pathSegListChanged(ListModification = ListModificationUnknown); | 97 void pathSegListChanged(ListModification = ListModificationUnknown); |
98 | 98 |
99 FloatRect getBBox() override; | |
100 | |
101 DECLARE_VIRTUAL_TRACE(); | 99 DECLARE_VIRTUAL_TRACE(); |
102 | 100 |
103 private: | 101 private: |
104 explicit SVGPathElement(Document&); | 102 explicit SVGPathElement(Document&); |
105 | 103 |
106 void svgAttributeChanged(const QualifiedName&) override; | 104 void svgAttributeChanged(const QualifiedName&) override; |
107 | 105 |
108 Node::InsertionNotificationRequest insertedInto(ContainerNode*) override; | 106 Node::InsertionNotificationRequest insertedInto(ContainerNode*) override; |
109 void removedFrom(ContainerNode*) override; | 107 void removedFrom(ContainerNode*) override; |
110 | 108 |
111 void invalidateMPathDependencies(); | 109 void invalidateMPathDependencies(); |
112 | 110 |
113 RefPtrWillBeMember<SVGAnimatedNumber> m_pathLength; | 111 RefPtrWillBeMember<SVGAnimatedNumber> m_pathLength; |
114 RefPtrWillBeMember<SVGAnimatedPath> m_pathSegList; | 112 RefPtrWillBeMember<SVGAnimatedPath> m_pathSegList; |
115 }; | 113 }; |
116 | 114 |
117 } // namespace blink | 115 } // namespace blink |
118 | 116 |
119 #endif // SVGPathElement_h | 117 #endif // SVGPathElement_h |
OLD | NEW |