OLD | NEW |
(Empty) | |
| 1 >>> (indent 6) |
| 2 if (t == 0.0) |
| 3 value = begin; |
| 4 else if (t == 1.0) |
| 5 value = end; |
| 6 else |
| 7 value = lerp(t); |
| 8 <<< |
| 9 if (t == 0.0) |
| 10 value = begin; |
| 11 else if (t == 1.0) |
| 12 value = end; |
| 13 else |
| 14 value = lerp(t); |
| 15 >>> (indent 4) |
| 16 if (direction == AnimationDirection.forward || |
| 17 reverseCurve == null) return curve; |
| 18 <<< |
| 19 if (direction == AnimationDirection.forward || reverseCurve == null) |
| 20 return curve; |
| 21 >>> (indent 6) |
| 22 if (outputSize.width / outputSize.height > sourceSize.width / sourceSize.h
eight) |
| 23 destinationSize = new Size(sourceSize.width * outputSize.height / source
Size.height, outputSize.height); |
| 24 else |
| 25 destinationSize = new Size(outputSize.width, sourceSize.height * outputS
ize.width / sourceSize.width); |
| 26 <<< |
| 27 if (outputSize.width / outputSize.height > |
| 28 sourceSize.width / sourceSize.height) |
| 29 destinationSize = new Size( |
| 30 sourceSize.width * outputSize.height / sourceSize.height, |
| 31 outputSize.height); |
| 32 else |
| 33 destinationSize = new Size(outputSize.width, |
| 34 sourceSize.height * outputSize.width / sourceSize.width); |
OLD | NEW |