aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkGeometry.h
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2014-12-11 20:19:58 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-11 20:19:58 -0800
commit891372c3b5b8229cf5c20b085f2d9448525f98e4 (patch)
tree45aab3b2dcf25a50737acdb1cadc4b2fe6106648 /src/core/SkGeometry.h
parent332697287225dd9da72bb5e9fc077c0174e71367 (diff)
use SkScalar instead of float
BUG=skia: TBR= Review URL: https://codereview.chromium.org/796803005
Diffstat (limited to 'src/core/SkGeometry.h')
-rw-r--r--src/core/SkGeometry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkGeometry.h b/src/core/SkGeometry.h
index 119cfc68db..5075643750 100644
--- a/src/core/SkGeometry.h
+++ b/src/core/SkGeometry.h
@@ -76,7 +76,7 @@ int SkChopQuadAtXExtrema(const SkPoint src[3], SkPoint dst[5]);
curvature exists on the segment, returns the t value for this
point along the curve. Otherwise it will return a value of 0.
*/
-float SkFindQuadMaxCurvature(const SkPoint src[3]);
+SkScalar SkFindQuadMaxCurvature(const SkPoint src[3]);
/** Given 3 points on a quadratic bezier, divide it into 2 quadratics
if the point of maximum curvature exists on the quad segment.