Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Side by Side Diff: src/utils/SkInterpolator.cpp

Issue 1842753002: Style bikeshed - remove extraneous whitespace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/utils/SkDumpCanvas.cpp ('k') | src/utils/SkLayer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1
2 /* 1 /*
3 * Copyright 2008 The Android Open Source Project 2 * Copyright 2008 The Android Open Source Project
4 * 3 *
5 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 5 * found in the LICENSE file.
7 */ 6 */
8 7
9 8
10 #include "SkInterpolator.h" 9 #include "SkInterpolator.h"
11 #include "SkMath.h" 10 #include "SkMath.h"
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 } 260 }
262 261
263 // Now we have t, so compute the coeff for Y and evaluate 262 // Now we have t, so compute the coeff for Y and evaluate
264 b = pin_and_convert(by); 263 b = pin_and_convert(by);
265 c = pin_and_convert(cy); 264 c = pin_and_convert(cy);
266 A = 3*b; 265 A = 3*b;
267 B = 3*(c - 2*b); 266 B = 3*(c - 2*b);
268 C = 3*(b - c) + Dot14_ONE; 267 C = 3*(b - c) + Dot14_ONE;
269 return SkFixedToScalar(eval_cubic(t, A, B, C) << 2); 268 return SkFixedToScalar(eval_cubic(t, A, B, C) << 2);
270 } 269 }
OLDNEW
« no previous file with comments | « src/utils/SkDumpCanvas.cpp ('k') | src/utils/SkLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698