Sanitizing source files in Skia_Periodic_House_Keeping
authorskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 14 Mar 2013 07:02:51 +0000 (07:02 +0000)
committerskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 14 Mar 2013 07:02:51 +0000 (07:02 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@8143 2bbb7eff-a529-9590-31e7-b0007b416f81

experimental/Intersection/CubicIntersection_Test.cpp
experimental/Intersection/CubicSubDivide.cpp
experimental/Intersection/ShapeOpCubic4x4_Test.cpp
experimental/Intersection/Simplify.cpp
tools/render_pictures_main.cpp

index f866e25..a11c1c9 100644 (file)
@@ -747,7 +747,7 @@ void CubicIntersection_SelfTest() {
         cubic_to_quadratics(cubic, calcPrecision(cubic), quads1);
         for (idx2 = 0; idx2 < quads1.count(); ++idx2) {
             const Quadratic& q = quads1[idx2];
-            SkDebugf("  {{%1.9g,%1.9g}, {%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", 
+            SkDebugf("  {{%1.9g,%1.9g}, {%1.9g,%1.9g}, {%1.9g,%1.9g}},\n",
                     q[0].x, q[0].y,  q[1].x, q[1].y,  q[2].x, q[2].y);
         }
         SkDebugf("\n");
index 883973c..ddf63cd 100644 (file)
@@ -70,7 +70,7 @@ void sub_divide(const Cubic& src, double t1, double t2, Cubic& dst) {
         dst[1] = src[1];
         dst[2] = src[2];
         dst[3] = src[3];
-        return;   
+        return;
     }
     double ax = dst[0].x = interp_cubic_coords(&src[0].x, t1);
     double ay = dst[0].y = interp_cubic_coords(&src[0].y, t1);
index bfa855a..d974a12 100644 (file)
@@ -32,7 +32,7 @@ static void* testShapeOps4x4CubicsMain(void* data)
         for (int d = c + 1 ; d < 7; ++d)           {
         for (int e = SkPath::kWinding_FillType ; e <= SkPath::kEvenOdd_FillType; ++e) {
         for (int f = SkPath::kWinding_FillType ; f <= SkPath::kEvenOdd_FillType; ++f)   {
-        
+
 #if 0
   if (state.a == fail[0] && state.b == fail[1] && state.c == fail[2] && state.d == fail[3]
         && a == fail[4] && b == fail[5] && c == fail[6] && d == fail[7]) {
index bedee71..6b2ca98 100644 (file)
@@ -1034,7 +1034,7 @@ struct Bounds : public SkRect {
                 || sk_double_isnan(fLeft) || sk_double_isnan(fRight)
                 || sk_double_isnan(fTop) || sk_double_isnan(fBottom);
     }
-    
+
     void setCubicBounds(const SkPoint a[4]) {
         _Rect dRect;
         MAKE_CONST_CUBIC(cubic, a);
@@ -3473,7 +3473,7 @@ the same winding is shared by both.
         }
         return sum <= 0;
     }
-    
+
     bool monotonic_in_y(int tStart, int tEnd) const {
         if (fVerb != SkPath::kCubic_Verb) {
             return false;
@@ -3847,7 +3847,7 @@ the same winding is shared by both.
             }
         }
     }
-    
+
     void subDivideBounds(int start, int end, Bounds& bounds) const {
         SkPoint edge[4];
         subDivide(start, end, edge);
index 2792c9d..b289d39 100644 (file)
@@ -189,7 +189,7 @@ static bool render_picture(const SkString& inputPath, const SkString* outputDir,
         SkBitmap* referenceBitmap = NULL;
         sk_tools::PictureRenderer* referenceRenderer;
         // If the renderer uses a BBoxHierarchy, then the reference renderer
-        // will be the same renderer, without the bbh. 
+        // will be the same renderer, without the bbh.
         AutoRestoreBbhType arbbh;
         if (sk_tools::PictureRenderer::kNone_BBoxHierarchyType !=
             renderer.getBBoxHierarchyType()) {