OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2005 Alexander Kellett <lypanov@kde.org> | 2 * Copyright (C) 2005 Alexander Kellett <lypanov@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 15 matching lines...) Expand all Loading... |
26 #include "core/svg/SVGAnimatedLength.h" | 26 #include "core/svg/SVGAnimatedLength.h" |
27 #include "core/svg/SVGElement.h" | 27 #include "core/svg/SVGElement.h" |
28 #include "core/svg/SVGTests.h" | 28 #include "core/svg/SVGTests.h" |
29 #include "core/svg/SVGUnitTypes.h" | 29 #include "core/svg/SVGUnitTypes.h" |
30 | 30 |
31 namespace WebCore { | 31 namespace WebCore { |
32 | 32 |
33 class SVGMaskElement FINAL : public SVGElement, | 33 class SVGMaskElement FINAL : public SVGElement, |
34 public SVGTests { | 34 public SVGTests { |
35 public: | 35 public: |
36 DEFINE_NODE_FACTORY(SVGMaskElement); | 36 DECLARE_NODE_FACTORY(SVGMaskElement); |
37 | 37 |
38 SVGAnimatedLength* x() const { return m_x.get(); } | 38 SVGAnimatedLength* x() const { return m_x.get(); } |
39 SVGAnimatedLength* y() const { return m_y.get(); } | 39 SVGAnimatedLength* y() const { return m_y.get(); } |
40 SVGAnimatedLength* width() const { return m_width.get(); } | 40 SVGAnimatedLength* width() const { return m_width.get(); } |
41 SVGAnimatedLength* height() const { return m_height.get(); } | 41 SVGAnimatedLength* height() const { return m_height.get(); } |
42 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* maskUnits() { return m_ma
skUnits.get(); } | 42 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* maskUnits() { return m_ma
skUnits.get(); } |
43 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* maskContentUnits() { retu
rn m_maskContentUnits.get(); } | 43 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* maskContentUnits() { retu
rn m_maskContentUnits.get(); } |
44 | 44 |
45 private: | 45 private: |
46 explicit SVGMaskElement(Document&); | 46 explicit SVGMaskElement(Document&); |
(...skipping 14 matching lines...) Expand all Loading... |
61 RefPtr<SVGAnimatedLength> m_y; | 61 RefPtr<SVGAnimatedLength> m_y; |
62 RefPtr<SVGAnimatedLength> m_width; | 62 RefPtr<SVGAnimatedLength> m_width; |
63 RefPtr<SVGAnimatedLength> m_height; | 63 RefPtr<SVGAnimatedLength> m_height; |
64 RefPtr<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_maskUnits; | 64 RefPtr<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_maskUnits; |
65 RefPtr<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_maskContentUnit
s; | 65 RefPtr<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_maskContentUnit
s; |
66 }; | 66 }; |
67 | 67 |
68 } | 68 } |
69 | 69 |
70 #endif | 70 #endif |
OLD | NEW |