diff options
author | 2012-10-19 02:01:19 +0000 | |
---|---|---|
committer | 2012-10-19 02:01:19 +0000 | |
commit | 6a748ad8d82576c4ce59e9b2409d41a93bf05cdf (patch) | |
tree | e671d051a50a0caeab8e2bb85284ef25b02a69ed /src/core/SkGeometry.cpp | |
parent | c7a37c7bb2279d8c15d6fcbaf38f59dbd727eb6c (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@6013 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkGeometry.cpp')
-rw-r--r-- | src/core/SkGeometry.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkGeometry.cpp b/src/core/SkGeometry.cpp index 95b6247801..137cd795c1 100644 --- a/src/core/SkGeometry.cpp +++ b/src/core/SkGeometry.cpp @@ -1256,8 +1256,8 @@ static bool quad_pt2OffCurve(const SkPoint quad[3], SkScalar x, SkScalar y, SkPo #ifdef SK_SCALAR_IS_FLOAT // Due to floating point issues (i.e., 1.0f - SK_ScalarRoot2Over2 != -// SK_ScalarRoot2Over2 - SK_ScalarTanPIOver8) a cruder root2over2 -// approximation is required to make the quad circle points convex. The +// SK_ScalarRoot2Over2 - SK_ScalarTanPIOver8) a cruder root2over2 +// approximation is required to make the quad circle points convex. The // root of the problem is that with the root2over2 value in SkScalar.h // the arcs really are ever so slightly concave. Some alternative fixes // to this problem (besides just arbitrarily pushing out the mid-point as |