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, 2008 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2008 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 static PassRefPtrWillBeRawPtr<SVGPathSeg> create() { ASSERT_NOT_REACHED(); r
eturn nullptr; } | 156 static PassRefPtrWillBeRawPtr<SVGPathSeg> create() { ASSERT_NOT_REACHED(); r
eturn nullptr; } |
157 virtual PassRefPtrWillBeRawPtr<SVGPathSeg> clone() = 0; | 157 virtual PassRefPtrWillBeRawPtr<SVGPathSeg> clone() = 0; |
158 | 158 |
159 DECLARE_VIRTUAL_TRACE(); | 159 DECLARE_VIRTUAL_TRACE(); |
160 | 160 |
161 protected: | 161 protected: |
162 void commitChange(); | 162 void commitChange(); |
163 | 163 |
164 private: | 164 private: |
165 RawPtrWillBeMember<SVGPropertyBase> m_ownerList; | 165 RawPtrWillBeMember<SVGPropertyBase> m_ownerList; |
166 RawPtrWillBeMember<SVGElement> m_contextElement; | 166 GC_PLUGIN_IGNORE("528275") |
| 167 SVGElement* m_contextElement; |
167 }; | 168 }; |
168 | 169 |
169 class SVGPathSegSingleCoordinate : public SVGPathSeg { | 170 class SVGPathSegSingleCoordinate : public SVGPathSeg { |
170 public: | 171 public: |
171 float x() const { return m_x; } | 172 float x() const { return m_x; } |
172 void setX(float x) | 173 void setX(float x) |
173 { | 174 { |
174 m_x = x; | 175 m_x = x; |
175 commitChange(); | 176 commitChange(); |
176 } | 177 } |
(...skipping 14 matching lines...) Expand all Loading... |
191 } | 192 } |
192 | 193 |
193 private: | 194 private: |
194 float m_x; | 195 float m_x; |
195 float m_y; | 196 float m_y; |
196 }; | 197 }; |
197 | 198 |
198 } // namespace blink | 199 } // namespace blink |
199 | 200 |
200 #endif // SVGPathSeg_h | 201 #endif // SVGPathSeg_h |
OLD | NEW |