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

Unified Diff: experimental/Intersection/QuadraticParameterization_TestUtility.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
Index: experimental/Intersection/QuadraticParameterization_TestUtility.cpp
diff --git a/experimental/Intersection/QuadraticParameterization_TestUtility.cpp b/experimental/Intersection/QuadraticParameterization_TestUtility.cpp
deleted file mode 100644
index 7c91eb5e8b679b7393f00fa6fedc614bfd0c4024..0000000000000000000000000000000000000000
--- a/experimental/Intersection/QuadraticParameterization_TestUtility.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
-// included by QuadraticParameterization.cpp
-// accesses internal functions to validate parameterized coefficients
-
-#include "Parameterization_Test.h"
-
-bool point_on_parameterized_curve(const Quadratic& quad, const _Point& point) {
- QuadImplicitForm q(quad);
- double xx = q.x2() * point.x * point.x;
- double xy = q.xy() * point.x * point.y;
- double yy = q.y2() * point.y * point.y;
- double x = q.x() * point.x;
- double y = q.y() * point.y;
- double c = q.c();
- double sum = xx + xy + yy + x + y + c;
- return approximately_zero(sum);
-}
« no previous file with comments | « experimental/Intersection/QuadraticParameterization_Test.cpp ('k') | experimental/Intersection/QuadraticReduceOrder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698