From fa2aeee27af27f2934ee52a9732148f66481fb03 Mon Sep 17 00:00:00 2001 From: "caryclark@google.com" Date: Mon, 15 Jul 2013 13:29:13 +0000 Subject: path ops near exact Modify line intersections to first - match exact ends - compute intersections - match near ends where the exact ends are preferred, then near matches, then computed matches. This pulls matches towards existing end points when possible, and keeps intersection distances consistent with different line/line line/quad and line/cubic computations. BUG= Review URL: https://codereview.chromium.org/19183003 git-svn-id: http://skia.googlecode.com/svn/trunk@10073 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/PathOpsLineParametetersTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/PathOpsLineParametetersTest.cpp') diff --git a/tests/PathOpsLineParametetersTest.cpp b/tests/PathOpsLineParametetersTest.cpp index 3b223ae89f..c8f8be7699 100644 --- a/tests/PathOpsLineParametetersTest.cpp +++ b/tests/PathOpsLineParametetersTest.cpp @@ -68,7 +68,7 @@ static void PathOpsLineParametersTest(skiatest::Reporter* reporter) { if (AlmostEqualUlps(fabs(normalizedDistance[inner]), answers[index][inner])) { continue; } - SkDebugf("%s [%d,%d] normalizedDistance:%1.10g != answer:%g\n", + SkDebugf("%s [%d,%d] normalizedDistance:%1.9g != answer:%g\n", __FUNCTION__, static_cast(index), (int)inner, normalizedDistance[inner], answers[index][inner]); REPORTER_ASSERT(reporter, 0); -- cgit v1.2.3