Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1099)

Unified Diff: experimental/Intersection/ShapeOps.h

Issue 867213004: remove prototype pathops code (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « experimental/Intersection/ShapeOpRect4x4_Test.cpp ('k') | experimental/Intersection/ShapeOps.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/Intersection/ShapeOps.h
diff --git a/experimental/Intersection/ShapeOps.h b/experimental/Intersection/ShapeOps.h
deleted file mode 100644
index d6959b9ed10fa16e73caeed6edbbdd381852158c..0000000000000000000000000000000000000000
--- a/experimental/Intersection/ShapeOps.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright 2012 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-#include "SkPath.h"
-
-// region-inspired approach
-void contourBounds(const SkPath& path, SkTDArray<SkRect>& boundsArray);
-void simplify(const SkPath& path, bool asFill, SkPath& simple);
-
-// contour outer edge walking approach
-#ifndef DEFINE_SHAPE_OP
-// FIXME: namespace testing doesn't allow global enums like this
-#define DEFINE_SHAPE_OP
-enum ShapeOp {
- kDifference_Op,
- kIntersect_Op,
- kUnion_Op,
- kXor_Op,
- kShapeOp_Count
-};
-
-enum ShapeOpMask {
- kWinding_Mask = -1,
- kNo_Mask = 0,
- kEvenOdd_Mask = 1
-};
-#endif
-
-void operate(const SkPath& one, const SkPath& two, ShapeOp op, SkPath& result);
-void simplifyx(const SkPath& path, SkPath& simple);
-
-// FIXME: remove this section once debugging is complete
-extern const bool gRunTestsInOneThread;
-#ifdef SK_DEBUG
-extern int gDebugMaxWindSum;
-extern int gDebugMaxWindValue;
-#endif
« no previous file with comments | « experimental/Intersection/ShapeOpRect4x4_Test.cpp ('k') | experimental/Intersection/ShapeOps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698