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

Unified Diff: experimental/Intersection/CubicBezierClip_Test.cpp

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/CubicBezierClip.cpp ('k') | experimental/Intersection/CubicBounds.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/Intersection/CubicBezierClip_Test.cpp
diff --git a/experimental/Intersection/CubicBezierClip_Test.cpp b/experimental/Intersection/CubicBezierClip_Test.cpp
deleted file mode 100644
index 9133980f58d7eaa0850924062dbb510fa9030238..0000000000000000000000000000000000000000
--- a/experimental/Intersection/CubicBezierClip_Test.cpp
+++ /dev/null
@@ -1,32 +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 "CurveIntersection.h"
-#include "CubicIntersection_TestData.h"
-#include "Intersection_Tests.h"
-
-void CubicBezierClip_Test() {
- for (size_t index = 0; index < tests_count; ++index) {
- const Cubic& cubic1 = tests[index][0];
- const Cubic& cubic2 = tests[index][1];
- Cubic reduce1, reduce2;
- int order1 = reduceOrder(cubic1, reduce1, kReduceOrder_NoQuadraticsAllowed,
- kReduceOrder_TreatAsFill);
- int order2 = reduceOrder(cubic2, reduce2, kReduceOrder_NoQuadraticsAllowed,
- kReduceOrder_TreatAsFill);
- if (order1 < 4) {
- SkDebugf("%s [%d] cubic1 order=%d\n", __FUNCTION__, (int) index, order1);
- }
- if (order2 < 4) {
- SkDebugf("%s [%d] cubic2 order=%d\n", __FUNCTION__, (int) index, order2);
- }
- if (order1 == 4 && order2 == 4) {
- double minT = 0;
- double maxT = 1;
- bezier_clip(reduce1, reduce2, minT, maxT);
- }
- }
-}
« no previous file with comments | « experimental/Intersection/CubicBezierClip.cpp ('k') | experimental/Intersection/CubicBounds.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698