Index: src/pathops/SkPathOpsTQuadSect.cpp |
diff --git a/src/pathops/SkPathOpsTQuadSect.cpp b/src/pathops/SkPathOpsTQuadSect.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..46ce5cfdbb7d729b89fd24bb9b2b9f616eb53939 |
--- /dev/null |
+++ b/src/pathops/SkPathOpsTQuadSect.cpp |
@@ -0,0 +1,15 @@ |
+/* |
+ * Copyright 2014 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+#include "SkPathOpsTSect.h" |
+ |
+int SkIntersections::intersectB(const SkDQuad& quad1, const SkDQuad& quad2) { |
+ SkTSect<SkDQuad> sect1(quad1 PATH_OPS_DEBUG_PARAMS(1)); |
+ SkTSect<SkDQuad> sect2(quad2 PATH_OPS_DEBUG_PARAMS(2)); |
+ SkTSect<SkDQuad>::BinarySearch(§1, §2, this); |
+ return used(); |
+} |