| 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 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 namespace blink { | 31 namespace blink { |
| 32 | 32 |
| 33 class SVGMaskElement final : public SVGElement, public SVGTests { | 33 class SVGMaskElement final : public SVGElement, public SVGTests { |
| 34 DEFINE_WRAPPERTYPEINFO(); | 34 DEFINE_WRAPPERTYPEINFO(); |
| 35 USING_GARBAGE_COLLECTED_MIXIN(SVGMaskElement); | 35 USING_GARBAGE_COLLECTED_MIXIN(SVGMaskElement); |
| 36 | 36 |
| 37 public: | 37 public: |
| 38 DECLARE_NODE_FACTORY(SVGMaskElement); | 38 DECLARE_NODE_FACTORY(SVGMaskElement); |
| 39 | 39 |
| 40 enum { |
| 41 kSvgUnitTypeUnknown = SVGUnitTypes::kSvgUnitTypeUnknown, |
| 42 kSvgUnitTypeUserspaceonuse = SVGUnitTypes::kSvgUnitTypeUserspaceonuse, |
| 43 kSvgUnitTypeObjectboundingbox = SVGUnitTypes::kSvgUnitTypeObjectboundingbox |
| 44 }; |
| 45 |
| 40 SVGAnimatedLength* x() const { return m_x.get(); } | 46 SVGAnimatedLength* x() const { return m_x.get(); } |
| 41 SVGAnimatedLength* y() const { return m_y.get(); } | 47 SVGAnimatedLength* y() const { return m_y.get(); } |
| 42 SVGAnimatedLength* width() const { return m_width.get(); } | 48 SVGAnimatedLength* width() const { return m_width.get(); } |
| 43 SVGAnimatedLength* height() const { return m_height.get(); } | 49 SVGAnimatedLength* height() const { return m_height.get(); } |
| 44 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* maskUnits() { | 50 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* maskUnits() { |
| 45 return m_maskUnits.get(); | 51 return m_maskUnits.get(); |
| 46 } | 52 } |
| 47 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* maskContentUnits() { | 53 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* maskContentUnits() { |
| 48 return m_maskContentUnits.get(); | 54 return m_maskContentUnits.get(); |
| 49 } | 55 } |
| (...skipping 22 matching lines...) Expand all Loading... |
| 72 Member<SVGAnimatedLength> m_y; | 78 Member<SVGAnimatedLength> m_y; |
| 73 Member<SVGAnimatedLength> m_width; | 79 Member<SVGAnimatedLength> m_width; |
| 74 Member<SVGAnimatedLength> m_height; | 80 Member<SVGAnimatedLength> m_height; |
| 75 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> m_maskUnits; | 81 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> m_maskUnits; |
| 76 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> m_maskContentUnits; | 82 Member<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> m_maskContentUnits; |
| 77 }; | 83 }; |
| 78 | 84 |
| 79 } // namespace blink | 85 } // namespace blink |
| 80 | 86 |
| 81 #endif // SVGMaskElement_h | 87 #endif // SVGMaskElement_h |
| OLD | NEW |