From aec251012542e971100e218bf463adbfb5d21d20 Mon Sep 17 00:00:00 2001 From: caryclark Date: Wed, 29 Apr 2015 08:28:30 -0700 Subject: minor fixes to cubics code and overall alignment of how bounds and tops are computed for all curve types All but 17 extended tests work. A helper function is privately added to SkPath.h to permit a test to modify a given point in a path. BUG=skia:3588 Review URL: https://codereview.chromium.org/1107353004 --- tests/PathOpsCubicLineIntersectionTest.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/PathOpsCubicLineIntersectionTest.cpp') diff --git a/tests/PathOpsCubicLineIntersectionTest.cpp b/tests/PathOpsCubicLineIntersectionTest.cpp index 6fdce3cb18..a1f1d9f4f2 100644 --- a/tests/PathOpsCubicLineIntersectionTest.cpp +++ b/tests/PathOpsCubicLineIntersectionTest.cpp @@ -49,6 +49,9 @@ static void testFail(skiatest::Reporter* reporter, int iIndex) { } static lineCubic lineCubicTests[] = { + {{{{0, 6}, {1.0851458311080933, 4.3722810745239258}, {1.5815209150314331, 3.038947582244873}, {1.9683018922805786, 1.9999997615814209}}}, + {{{3,2}, {1,2}}}}, + {{{{0.468027353,4}, {1.06734705,1.33333337}, {1.36700678,0}, {3,0}}}, {{{2,1}, {0,1}}}}, -- cgit v1.2.3