| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 // Forward declare enumerations in the W3C naming scheme, for IDL generation
. | 47 // Forward declare enumerations in the W3C naming scheme, for IDL generation
. |
| 48 enum { | 48 enum { |
| 49 TEXTPATH_METHODTYPE_UNKNOWN = SVGTextPathMethodUnknown, | 49 TEXTPATH_METHODTYPE_UNKNOWN = SVGTextPathMethodUnknown, |
| 50 TEXTPATH_METHODTYPE_ALIGN = SVGTextPathMethodAlign, | 50 TEXTPATH_METHODTYPE_ALIGN = SVGTextPathMethodAlign, |
| 51 TEXTPATH_METHODTYPE_STRETCH = SVGTextPathMethodStretch, | 51 TEXTPATH_METHODTYPE_STRETCH = SVGTextPathMethodStretch, |
| 52 TEXTPATH_SPACINGTYPE_UNKNOWN = SVGTextPathSpacingUnknown, | 52 TEXTPATH_SPACINGTYPE_UNKNOWN = SVGTextPathSpacingUnknown, |
| 53 TEXTPATH_SPACINGTYPE_AUTO = SVGTextPathSpacingAuto, | 53 TEXTPATH_SPACINGTYPE_AUTO = SVGTextPathSpacingAuto, |
| 54 TEXTPATH_SPACINGTYPE_EXACT = SVGTextPathSpacingExact | 54 TEXTPATH_SPACINGTYPE_EXACT = SVGTextPathSpacingExact |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 DEFINE_NODE_FACTORY(SVGTextPathElement); | 57 DECLARE_NODE_FACTORY(SVGTextPathElement); |
| 58 | 58 |
| 59 SVGAnimatedLength* startOffset() const { return m_startOffset.get(); } | 59 SVGAnimatedLength* startOffset() const { return m_startOffset.get(); } |
| 60 SVGAnimatedEnumeration<SVGTextPathMethodType>* method() { return m_method.ge
t(); } | 60 SVGAnimatedEnumeration<SVGTextPathMethodType>* method() { return m_method.ge
t(); } |
| 61 SVGAnimatedEnumeration<SVGTextPathSpacingType>* spacing() { return m_spacing
.get(); } | 61 SVGAnimatedEnumeration<SVGTextPathSpacingType>* spacing() { return m_spacing
.get(); } |
| 62 | 62 |
| 63 private: | 63 private: |
| 64 explicit SVGTextPathElement(Document&); | 64 explicit SVGTextPathElement(Document&); |
| 65 | 65 |
| 66 virtual ~SVGTextPathElement(); | 66 virtual ~SVGTextPathElement(); |
| 67 | 67 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 81 virtual bool selfHasRelativeLengths() const OVERRIDE; | 81 virtual bool selfHasRelativeLengths() const OVERRIDE; |
| 82 | 82 |
| 83 RefPtr<SVGAnimatedLength> m_startOffset; | 83 RefPtr<SVGAnimatedLength> m_startOffset; |
| 84 RefPtr<SVGAnimatedEnumeration<SVGTextPathMethodType> > m_method; | 84 RefPtr<SVGAnimatedEnumeration<SVGTextPathMethodType> > m_method; |
| 85 RefPtr<SVGAnimatedEnumeration<SVGTextPathSpacingType> > m_spacing; | 85 RefPtr<SVGAnimatedEnumeration<SVGTextPathSpacingType> > m_spacing; |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 } // namespace WebCore | 88 } // namespace WebCore |
| 89 | 89 |
| 90 #endif | 90 #endif |
| OLD | NEW |