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 27 matching lines...) Expand all Loading... |
38 SVGTextPathSpacingAuto, | 38 SVGTextPathSpacingAuto, |
39 SVGTextPathSpacingExact | 39 SVGTextPathSpacingExact |
40 }; | 40 }; |
41 | 41 |
42 template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGTextPath
MethodType>(); | 42 template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGTextPath
MethodType>(); |
43 template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGTextPath
SpacingType>(); | 43 template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGTextPath
SpacingType>(); |
44 | 44 |
45 class SVGTextPathElement final : public SVGTextContentElement, | 45 class SVGTextPathElement final : public SVGTextContentElement, |
46 public SVGURIReference { | 46 public SVGURIReference { |
47 DEFINE_WRAPPERTYPEINFO(); | 47 DEFINE_WRAPPERTYPEINFO(); |
48 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGTextPathElement); | 48 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN_NESTED(SVGTextPathElement, SVGGraphics
Element); |
49 public: | 49 public: |
50 // Forward declare enumerations in the W3C naming scheme, for IDL generation
. | 50 // Forward declare enumerations in the W3C naming scheme, for IDL generation
. |
51 enum { | 51 enum { |
52 TEXTPATH_METHODTYPE_UNKNOWN = SVGTextPathMethodUnknown, | 52 TEXTPATH_METHODTYPE_UNKNOWN = SVGTextPathMethodUnknown, |
53 TEXTPATH_METHODTYPE_ALIGN = SVGTextPathMethodAlign, | 53 TEXTPATH_METHODTYPE_ALIGN = SVGTextPathMethodAlign, |
54 TEXTPATH_METHODTYPE_STRETCH = SVGTextPathMethodStretch, | 54 TEXTPATH_METHODTYPE_STRETCH = SVGTextPathMethodStretch, |
55 TEXTPATH_SPACINGTYPE_UNKNOWN = SVGTextPathSpacingUnknown, | 55 TEXTPATH_SPACINGTYPE_UNKNOWN = SVGTextPathSpacingUnknown, |
56 TEXTPATH_SPACINGTYPE_AUTO = SVGTextPathSpacingAuto, | 56 TEXTPATH_SPACINGTYPE_AUTO = SVGTextPathSpacingAuto, |
57 TEXTPATH_SPACINGTYPE_EXACT = SVGTextPathSpacingExact | 57 TEXTPATH_SPACINGTYPE_EXACT = SVGTextPathSpacingExact |
58 }; | 58 }; |
(...skipping 26 matching lines...) Expand all Loading... |
85 virtual bool selfHasRelativeLengths() const override; | 85 virtual bool selfHasRelativeLengths() const override; |
86 | 86 |
87 RefPtrWillBeMember<SVGAnimatedLength> m_startOffset; | 87 RefPtrWillBeMember<SVGAnimatedLength> m_startOffset; |
88 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGTextPathMethodType>> m_method; | 88 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGTextPathMethodType>> m_method; |
89 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGTextPathSpacingType>> m_spacing
; | 89 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGTextPathSpacingType>> m_spacing
; |
90 }; | 90 }; |
91 | 91 |
92 } // namespace blink | 92 } // namespace blink |
93 | 93 |
94 #endif // SVGTextPathElement_h | 94 #endif // SVGTextPathElement_h |
OLD | NEW |