OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 animationElement->animateAdditiveNumber( | 124 animationElement->animateAdditiveNumber( |
125 percentage, repeatCount, fromInteger->secondInteger()->value(), | 125 percentage, repeatCount, fromInteger->secondInteger()->value(), |
126 toInteger->secondInteger()->value(), | 126 toInteger->secondInteger()->value(), |
127 toAtEndOfDurationInteger->secondInteger()->value(), y); | 127 toAtEndOfDurationInteger->secondInteger()->value(), y); |
128 m_firstInteger->setValue(static_cast<int>(roundf(x))); | 128 m_firstInteger->setValue(static_cast<int>(roundf(x))); |
129 m_secondInteger->setValue(static_cast<int>(roundf(y))); | 129 m_secondInteger->setValue(static_cast<int>(roundf(y))); |
130 } | 130 } |
131 | 131 |
132 float SVGIntegerOptionalInteger::calculateDistance(SVGPropertyBase* other, | 132 float SVGIntegerOptionalInteger::calculateDistance(SVGPropertyBase* other, |
133 SVGElement*) { | 133 SVGElement*) { |
134 // FIXME: Distance calculation is not possible for SVGIntegerOptionalInteger r
ight now. We need the distance for every single value. | 134 // FIXME: Distance calculation is not possible for SVGIntegerOptionalInteger |
| 135 // right now. We need the distance for every single value. |
135 return -1; | 136 return -1; |
136 } | 137 } |
137 | 138 |
138 } // namespace blink | 139 } // namespace blink |
OLD | NEW |