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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 PathSegCurveToCubicSmoothRel = 17, | 56 PathSegCurveToCubicSmoothRel = 17, |
57 PathSegCurveToQuadraticSmoothAbs = 18, | 57 PathSegCurveToQuadraticSmoothAbs = 18, |
58 PathSegCurveToQuadraticSmoothRel = 19 | 58 PathSegCurveToQuadraticSmoothRel = 19 |
59 }; | 59 }; |
60 | 60 |
61 class SVGPropertyBase; | 61 class SVGPropertyBase; |
62 class SVGPathElement; | 62 class SVGPathElement; |
63 class SVGElement; | 63 class SVGElement; |
64 | 64 |
65 class SVGPathSeg : public RefCounted<SVGPathSeg>, public ScriptWrappable { | 65 class SVGPathSeg : public RefCounted<SVGPathSeg>, public ScriptWrappable { |
| 66 DEFINE_WRAPPERTYPEINFO(); |
66 public: | 67 public: |
67 // SVGPathSeg itself is used as a tear-off type. | 68 // SVGPathSeg itself is used as a tear-off type. |
68 // FIXME: A tear-off type should be introduced to distinguish animVal/baseVa
l | 69 // FIXME: A tear-off type should be introduced to distinguish animVal/baseVa
l |
69 typedef SVGPathSeg TearOffType; | 70 typedef SVGPathSeg TearOffType; |
70 | 71 |
71 explicit SVGPathSeg(SVGPathElement* contextElement); | 72 explicit SVGPathSeg(SVGPathElement* contextElement); |
72 | 73 |
73 virtual ~SVGPathSeg() { } | 74 virtual ~SVGPathSeg() { } |
74 | 75 |
75 // Forward declare these enums in the w3c naming scheme, for IDL generation | 76 // Forward declare these enums in the w3c naming scheme, for IDL generation |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 void commitChange(); | 125 void commitChange(); |
125 | 126 |
126 private: | 127 private: |
127 // FIXME: oilpan: These are kept as raw ptrs to break reference cycle. Shoul
d be Member in oilpan. | 128 // FIXME: oilpan: These are kept as raw ptrs to break reference cycle. Shoul
d be Member in oilpan. |
128 SVGPropertyBase* m_ownerList; | 129 SVGPropertyBase* m_ownerList; |
129 SVGElement* m_contextElement; | 130 SVGElement* m_contextElement; |
130 }; | 131 }; |
131 | 132 |
132 } // namespace blink | 133 } // namespace blink |
133 | 134 |
134 #endif | 135 #endif // SVGPathSeg_h |
OLD | NEW |