Rename SkInsetConvexPolygon to SkOffsetPolygon.

Prep for adding new offset routines.

Change-Id: I261c22d9998e5ae4567b697c5f20a31f20777ac1
Reviewed-on: https://skia-review.googlesource.com/116800
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
diff --git a/gm/convex_all_line_paths.cpp b/gm/convex_all_line_paths.cpp
index a4bc6a6..b8cdbce 100644
--- a/gm/convex_all_line_paths.cpp
+++ b/gm/convex_all_line_paths.cpp
@@ -6,7 +6,7 @@
  */
 
 #include "gm.h"
-#include "SkInsetConvexPolygon.h"
+#include "SkOffsetPolygon.h"
 #include "SkPathPriv.h"
 
 static void create_ngon(int n, SkPoint* pts, SkScalar width, SkScalar height) {
diff --git a/gn/utils.gni b/gn/utils.gni
index fb9e0a2..920924b 100644
--- a/gn/utils.gni
+++ b/gn/utils.gni
@@ -37,8 +37,6 @@
   "$_src/utils/SkFloatToDecimal.cpp",
   "$_src/utils/SkFloatToDecimal.h",
   "$_src/utils/SkFloatUtils.h",
-  "$_src/utils/SkInsetConvexPolygon.cpp",
-  "$_src/utils/SkInsetConvexPolygon.h",
   "$_src/utils/SkInterpolator.cpp",
   "$_src/utils/SkJSONWriter.cpp",
   "$_src/utils/SkJSONWriter.h",
@@ -47,6 +45,8 @@
   "$_src/utils/SkMultiPictureDocument.cpp",
   "$_src/utils/SkNWayCanvas.cpp",
   "$_src/utils/SkNullCanvas.cpp",
+  "$_src/utils/SkOffsetPolygon.cpp",
+  "$_src/utils/SkOffsetPolygon.h",
   "$_src/utils/SkOSPath.cpp",
   "$_src/utils/SkOSPath.h",
   "$_src/utils/SkPaintFilterCanvas.cpp",
diff --git a/src/utils/SkInsetConvexPolygon.cpp b/src/utils/SkOffsetPolygon.cpp
similarity index 99%
rename from src/utils/SkInsetConvexPolygon.cpp
rename to src/utils/SkOffsetPolygon.cpp
index 8a55b13..c8ebbeb 100755
--- a/src/utils/SkInsetConvexPolygon.cpp
+++ b/src/utils/SkOffsetPolygon.cpp
@@ -5,7 +5,7 @@
  * found in the LICENSE file.
  */
 
-#include "SkInsetConvexPolygon.h"
+#include "SkOffsetPolygon.h"
 
 #include "SkPointPriv.h"
 #include "SkTemplates.h"
diff --git a/src/utils/SkInsetConvexPolygon.h b/src/utils/SkOffsetPolygon.h
similarity index 100%
rename from src/utils/SkInsetConvexPolygon.h
rename to src/utils/SkOffsetPolygon.h
diff --git a/src/utils/SkShadowTessellator.cpp b/src/utils/SkShadowTessellator.cpp
index 8815ce6..75e4059 100755
--- a/src/utils/SkShadowTessellator.cpp
+++ b/src/utils/SkShadowTessellator.cpp
@@ -9,7 +9,7 @@
 #include "SkColorData.h"
 #include "SkDrawShadowInfo.h"
 #include "SkGeometry.h"
-#include "SkInsetConvexPolygon.h"
+#include "SkOffsetPolygon.h"
 #include "SkPath.h"
 #include "SkPoint3.h"
 #include "SkPointPriv.h"
diff --git a/tests/InsetConvexPolyTest.cpp b/tests/InsetConvexPolyTest.cpp
index 9c1349c..433cf23 100644
--- a/tests/InsetConvexPolyTest.cpp
+++ b/tests/InsetConvexPolyTest.cpp
@@ -5,7 +5,7 @@
  * found in the LICENSE file.
  */
 #include "Test.h"
-#include "SkInsetConvexPolygon.h"
+#include "SkOffsetPolygon.h"
 
 static bool is_convex(const SkTDArray<SkPoint>& poly) {
     if (poly.count() < 3) {