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>
This commit is contained in:
Jim Van Verth 2018-03-28 10:10:30 -04:00 committed by Skia Commit-Bot
parent 3a9710b1e4
commit 41964ed46e
6 changed files with 6 additions and 6 deletions

View File

@ -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) {

View File

@ -37,8 +37,6 @@ skia_utils_sources = [
"$_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 @@ skia_utils_sources = [
"$_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",

View File

@ -5,7 +5,7 @@
* found in the LICENSE file.
*/
#include "SkInsetConvexPolygon.h"
#include "SkOffsetPolygon.h"
#include "SkPointPriv.h"
#include "SkTemplates.h"

View File

@ -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"

View File

@ -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) {