| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2007 Apple Inc. All rights reserved. | 4 * Copyright (C) 2007 Apple Inc. 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 toAtEndOfDurationRect->width(), animatedWidth); | 122 toAtEndOfDurationRect->width(), animatedWidth); |
| 123 animationElement->animateAdditiveNumber( | 123 animationElement->animateAdditiveNumber( |
| 124 percentage, repeatCount, fromRect->height(), toRect->height(), | 124 percentage, repeatCount, fromRect->height(), toRect->height(), |
| 125 toAtEndOfDurationRect->height(), animatedHeight); | 125 toAtEndOfDurationRect->height(), animatedHeight); |
| 126 | 126 |
| 127 m_value = FloatRect(animatedX, animatedY, animatedWidth, animatedHeight); | 127 m_value = FloatRect(animatedX, animatedY, animatedWidth, animatedHeight); |
| 128 } | 128 } |
| 129 | 129 |
| 130 float SVGRect::calculateDistance(SVGPropertyBase* to, | 130 float SVGRect::calculateDistance(SVGPropertyBase* to, |
| 131 SVGElement* contextElement) { | 131 SVGElement* contextElement) { |
| 132 // FIXME: Distance calculation is not possible for SVGRect right now. We need
the distance for every single value. | 132 // FIXME: Distance calculation is not possible for SVGRect right now. We need |
| 133 // the distance for every single value. |
| 133 return -1; | 134 return -1; |
| 134 } | 135 } |
| 135 | 136 |
| 136 void SVGRect::setInvalid() { | 137 void SVGRect::setInvalid() { |
| 137 m_value = FloatRect(0.0f, 0.0f, 0.0f, 0.0f); | 138 m_value = FloatRect(0.0f, 0.0f, 0.0f, 0.0f); |
| 138 m_isValid = false; | 139 m_isValid = false; |
| 139 } | 140 } |
| 140 | 141 |
| 141 } // namespace blink | 142 } // namespace blink |
| OLD | NEW |