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:
parent
3a9710b1e4
commit
41964ed46e
@ -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) {
|
||||
|
@ -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",
|
||||
|
@ -5,7 +5,7 @@
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include "SkInsetConvexPolygon.h"
|
||||
#include "SkOffsetPolygon.h"
|
||||
|
||||
#include "SkPointPriv.h"
|
||||
#include "SkTemplates.h"
|
@ -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"
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user