In convex path renderer, translate polygon to origin for fanPt computation

Review URL: http://codereview.appspot.com/5698051/



git-svn-id: http://skia.googlecode.com/svn/trunk@3241 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/convexpaths.cpp b/gm/convexpaths.cpp
index 9aedcbc..2c719e8 100644
--- a/gm/convexpaths.cpp
+++ b/gm/convexpaths.cpp
@@ -162,6 +162,10 @@
         fPaths.push_back().cubicTo(0, 0,
                                    0, 0,
                                    100 * SK_Scalar1, 100 * SK_Scalar1);
+
+        // small circle. This is listed last so that it has device coords far
+        // from the origin (small area relative to x,y values).
+        fPaths.push_back().addCircle(0, 0, SkFloatToScalar(0.8f));
     }
 
     virtual void onDraw(SkCanvas* canvas) {