OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 enum { | 105 enum { |
106 TEXTPATH_METHODTYPE_UNKNOWN = SVGTextPathMethodUnknown, | 106 TEXTPATH_METHODTYPE_UNKNOWN = SVGTextPathMethodUnknown, |
107 TEXTPATH_METHODTYPE_ALIGN = SVGTextPathMethodAlign, | 107 TEXTPATH_METHODTYPE_ALIGN = SVGTextPathMethodAlign, |
108 TEXTPATH_METHODTYPE_STRETCH = SVGTextPathMethodStretch, | 108 TEXTPATH_METHODTYPE_STRETCH = SVGTextPathMethodStretch, |
109 TEXTPATH_SPACINGTYPE_UNKNOWN = SVGTextPathSpacingUnknown, | 109 TEXTPATH_SPACINGTYPE_UNKNOWN = SVGTextPathSpacingUnknown, |
110 TEXTPATH_SPACINGTYPE_AUTO = SVGTextPathSpacingAuto, | 110 TEXTPATH_SPACINGTYPE_AUTO = SVGTextPathSpacingAuto, |
111 TEXTPATH_SPACINGTYPE_EXACT = SVGTextPathSpacingExact | 111 TEXTPATH_SPACINGTYPE_EXACT = SVGTextPathSpacingExact |
112 }; | 112 }; |
113 | 113 |
114 static PassRefPtr<SVGTextPathElement> create(const QualifiedName&, const Han
dle<Document>&); | 114 static PassRefPtr<SVGTextPathElement> create(const QualifiedName&, const Han
dle<Document>&); |
115 | 115 |
| 116 virtual void accept(Visitor* visitor) const OVERRIDE { SVGTextContentElement
::accept(visitor); } |
| 117 |
116 private: | 118 private: |
117 SVGTextPathElement(const QualifiedName&, const Handle<Document>&); | 119 SVGTextPathElement(const QualifiedName&, const Handle<Document>&); |
118 | 120 |
119 virtual ~SVGTextPathElement(); | 121 virtual ~SVGTextPathElement(); |
120 | 122 |
121 void clearResourceReferences(); | 123 void clearResourceReferences(); |
122 | 124 |
123 virtual void buildPendingResource(); | 125 virtual void buildPendingResource(); |
124 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode
>&) OVERRIDE; | 126 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode
>&) OVERRIDE; |
125 virtual void removedFrom(const Handle<ContainerNode>&) OVERRIDE; | 127 virtual void removedFrom(const Handle<ContainerNode>&) OVERRIDE; |
(...skipping 13 matching lines...) Expand all Loading... |
139 DECLARE_ANIMATED_ENUMERATION(Method, method, SVGTextPathMethodType) | 141 DECLARE_ANIMATED_ENUMERATION(Method, method, SVGTextPathMethodType) |
140 DECLARE_ANIMATED_ENUMERATION(Spacing, spacing, SVGTextPathSpacingType) | 142 DECLARE_ANIMATED_ENUMERATION(Spacing, spacing, SVGTextPathSpacingType) |
141 DECLARE_ANIMATED_STRING(Href, href) | 143 DECLARE_ANIMATED_STRING(Href, href) |
142 END_DECLARE_ANIMATED_PROPERTIES | 144 END_DECLARE_ANIMATED_PROPERTIES |
143 }; | 145 }; |
144 | 146 |
145 } // namespace WebCore | 147 } // namespace WebCore |
146 | 148 |
147 #endif // ENABLE(SVG) | 149 #endif // ENABLE(SVG) |
148 #endif | 150 #endif |
OLD | NEW |