| 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 25 matching lines...) Expand all Loading... |
| 36 SVGTextPathSpacingUnknown = 0, | 36 SVGTextPathSpacingUnknown = 0, |
| 37 SVGTextPathSpacingAuto, | 37 SVGTextPathSpacingAuto, |
| 38 SVGTextPathSpacingExact | 38 SVGTextPathSpacingExact |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGTextPath
MethodType>(); | 41 template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGTextPath
MethodType>(); |
| 42 template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGTextPath
SpacingType>(); | 42 template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGTextPath
SpacingType>(); |
| 43 | 43 |
| 44 class SVGTextPathElement FINAL : public SVGTextContentElement, | 44 class SVGTextPathElement FINAL : public SVGTextContentElement, |
| 45 public SVGURIReference { | 45 public SVGURIReference { |
| 46 DEFINE_WRAPPERTYPEINFO(); |
| 46 public: | 47 public: |
| 47 // Forward declare enumerations in the W3C naming scheme, for IDL generation
. | 48 // Forward declare enumerations in the W3C naming scheme, for IDL generation
. |
| 48 enum { | 49 enum { |
| 49 TEXTPATH_METHODTYPE_UNKNOWN = SVGTextPathMethodUnknown, | 50 TEXTPATH_METHODTYPE_UNKNOWN = SVGTextPathMethodUnknown, |
| 50 TEXTPATH_METHODTYPE_ALIGN = SVGTextPathMethodAlign, | 51 TEXTPATH_METHODTYPE_ALIGN = SVGTextPathMethodAlign, |
| 51 TEXTPATH_METHODTYPE_STRETCH = SVGTextPathMethodStretch, | 52 TEXTPATH_METHODTYPE_STRETCH = SVGTextPathMethodStretch, |
| 52 TEXTPATH_SPACINGTYPE_UNKNOWN = SVGTextPathSpacingUnknown, | 53 TEXTPATH_SPACINGTYPE_UNKNOWN = SVGTextPathSpacingUnknown, |
| 53 TEXTPATH_SPACINGTYPE_AUTO = SVGTextPathSpacingAuto, | 54 TEXTPATH_SPACINGTYPE_AUTO = SVGTextPathSpacingAuto, |
| 54 TEXTPATH_SPACINGTYPE_EXACT = SVGTextPathSpacingExact | 55 TEXTPATH_SPACINGTYPE_EXACT = SVGTextPathSpacingExact |
| 55 }; | 56 }; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 80 | 81 |
| 81 virtual bool selfHasRelativeLengths() const OVERRIDE; | 82 virtual bool selfHasRelativeLengths() const OVERRIDE; |
| 82 | 83 |
| 83 RefPtr<SVGAnimatedLength> m_startOffset; | 84 RefPtr<SVGAnimatedLength> m_startOffset; |
| 84 RefPtr<SVGAnimatedEnumeration<SVGTextPathMethodType> > m_method; | 85 RefPtr<SVGAnimatedEnumeration<SVGTextPathMethodType> > m_method; |
| 85 RefPtr<SVGAnimatedEnumeration<SVGTextPathSpacingType> > m_spacing; | 86 RefPtr<SVGAnimatedEnumeration<SVGTextPathSpacingType> > m_spacing; |
| 86 }; | 87 }; |
| 87 | 88 |
| 88 } // namespace blink | 89 } // namespace blink |
| 89 | 90 |
| 90 #endif | 91 #endif // SVGTextPathElement_h |
| OLD | NEW |