OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> |
4 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 85 |
86 SVGAngleType unitType() const { return m_unitType; } | 86 SVGAngleType unitType() const { return m_unitType; } |
87 | 87 |
88 void setValue(float); | 88 void setValue(float); |
89 float value() const; | 89 float value() const; |
90 | 90 |
91 void setValueInSpecifiedUnits(float valueInSpecifiedUnits) { m_valueInSpecif
iedUnits = valueInSpecifiedUnits; } | 91 void setValueInSpecifiedUnits(float valueInSpecifiedUnits) { m_valueInSpecif
iedUnits = valueInSpecifiedUnits; } |
92 float valueInSpecifiedUnits() const { return m_valueInSpecifiedUnits; } | 92 float valueInSpecifiedUnits() const { return m_valueInSpecifiedUnits; } |
93 | 93 |
94 void newValueSpecifiedUnits(SVGAngleType unitType, float valueInSpecifiedUni
ts); | 94 void newValueSpecifiedUnits(SVGAngleType unitType, float valueInSpecifiedUni
ts); |
95 void convertToSpecifiedUnits(SVGAngleType unitType, ExceptionState&); | 95 void convertToSpecifiedUnits(SVGAngleType unitType); |
96 | 96 |
97 SVGEnumeration<SVGMarkerOrientType>* orientType() { return m_orientType.get(
); } | 97 SVGEnumeration<SVGMarkerOrientType>* orientType() { return m_orientType.get(
); } |
98 const SVGEnumeration<SVGMarkerOrientType>* orientType() const { return m_ori
entType.get(); } | 98 const SVGEnumeration<SVGMarkerOrientType>* orientType() const { return m_ori
entType.get(); } |
99 void orientTypeChanged(); | 99 void orientTypeChanged(); |
100 | 100 |
101 // SVGPropertyBase: | 101 // SVGPropertyBase: |
102 | 102 |
103 PassRefPtrWillBeRawPtr<SVGAngle> clone() const; | 103 PassRefPtrWillBeRawPtr<SVGAngle> clone() const; |
104 | 104 |
105 String valueAsString() const override; | 105 String valueAsString() const override; |
(...skipping 21 matching lines...) Expand all Loading... |
127 inline PassRefPtrWillBeRawPtr<SVGAngle> toSVGAngle(PassRefPtrWillBeRawPtr<SVGPro
pertyBase> passBase) | 127 inline PassRefPtrWillBeRawPtr<SVGAngle> toSVGAngle(PassRefPtrWillBeRawPtr<SVGPro
pertyBase> passBase) |
128 { | 128 { |
129 RefPtrWillBeRawPtr<SVGPropertyBase> base = passBase; | 129 RefPtrWillBeRawPtr<SVGPropertyBase> base = passBase; |
130 ASSERT(base->type() == SVGAngle::classType()); | 130 ASSERT(base->type() == SVGAngle::classType()); |
131 return static_pointer_cast<SVGAngle>(base.release()); | 131 return static_pointer_cast<SVGAngle>(base.release()); |
132 } | 132 } |
133 | 133 |
134 } // namespace blink | 134 } // namespace blink |
135 | 135 |
136 #endif // SVGAngle_h | 136 #endif // SVGAngle_h |
OLD | NEW |