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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 PathSegLineToHorizontalAbs = 12, | 51 PathSegLineToHorizontalAbs = 12, |
52 PathSegLineToHorizontalRel = 13, | 52 PathSegLineToHorizontalRel = 13, |
53 PathSegLineToVerticalAbs = 14, | 53 PathSegLineToVerticalAbs = 14, |
54 PathSegLineToVerticalRel = 15, | 54 PathSegLineToVerticalRel = 15, |
55 PathSegCurveToCubicSmoothAbs = 16, | 55 PathSegCurveToCubicSmoothAbs = 16, |
56 PathSegCurveToCubicSmoothRel = 17, | 56 PathSegCurveToCubicSmoothRel = 17, |
57 PathSegCurveToQuadraticSmoothAbs = 18, | 57 PathSegCurveToQuadraticSmoothAbs = 18, |
58 PathSegCurveToQuadraticSmoothRel = 19 | 58 PathSegCurveToQuadraticSmoothRel = 19 |
59 }; | 59 }; |
60 | 60 |
61 enum SVGPathSegRole { | |
62 PathSegUnalteredRole = 0, | |
63 PathSegNormalizedRole = 1, | |
64 PathSegUndefinedRole = 2 | |
65 }; | |
66 | |
67 class SVGPropertyBase; | 61 class SVGPropertyBase; |
68 class SVGPathElement; | 62 class SVGPathElement; |
69 class SVGElement; | 63 class SVGElement; |
70 | 64 |
71 class SVGPathSeg : public RefCounted<SVGPathSeg>, public ScriptWrappable { | 65 class SVGPathSeg : public RefCounted<SVGPathSeg>, public ScriptWrappable { |
72 public: | 66 public: |
73 // SVGPathSeg itself is used as a tear-off type. | 67 // SVGPathSeg itself is used as a tear-off type. |
74 // FIXME: A tear-off type should be introduced to distinguish animVal/baseVa
l | 68 // FIXME: A tear-off type should be introduced to distinguish animVal/baseVa
l |
75 typedef SVGPathSeg TearOffType; | 69 typedef SVGPathSeg TearOffType; |
76 | 70 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 | 125 |
132 private: | 126 private: |
133 // FIXME: oilpan: These are kept as raw ptrs to break reference cycle. Shoul
d be Member in oilpan. | 127 // FIXME: oilpan: These are kept as raw ptrs to break reference cycle. Shoul
d be Member in oilpan. |
134 SVGPropertyBase* m_ownerList; | 128 SVGPropertyBase* m_ownerList; |
135 SVGElement* m_contextElement; | 129 SVGElement* m_contextElement; |
136 }; | 130 }; |
137 | 131 |
138 } // namespace blink | 132 } // namespace blink |
139 | 133 |
140 #endif | 134 #endif |
OLD | NEW |