summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/skia/experimental/Intersection/Parameterization_Test.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/skia/experimental/Intersection/Parameterization_Test.h')
-rw-r--r--chromium/third_party/skia/experimental/Intersection/Parameterization_Test.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/chromium/third_party/skia/experimental/Intersection/Parameterization_Test.h b/chromium/third_party/skia/experimental/Intersection/Parameterization_Test.h
new file mode 100644
index 00000000000..93a27ec29de
--- /dev/null
+++ b/chromium/third_party/skia/experimental/Intersection/Parameterization_Test.h
@@ -0,0 +1,12 @@
+/*
+ * 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 "DataTypes.h"
+
+// utilities used only for unit testing
+bool point_on_parameterized_curve(const Cubic& cubic, const _Point& point);
+bool point_on_parameterized_line(const _Line& line, const _Point& point);
+bool point_on_parameterized_curve(const Quadratic& quad, const _Point& point);