From a2bbc6e19d5332e81784e582c290cc060f40c4c7 Mon Sep 17 00:00:00 2001 From: "caryclark@google.com" Date: Fri, 1 Nov 2013 17:36:03 +0000 Subject: pathops work in progress BUG= Review URL: https://codereview.chromium.org/52653002 git-svn-id: http://skia.googlecode.com/svn/trunk@12089 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/PathOpsCubicIntersectionTest.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests/PathOpsCubicIntersectionTest.cpp') diff --git a/tests/PathOpsCubicIntersectionTest.cpp b/tests/PathOpsCubicIntersectionTest.cpp index 04797b4ef3..c8a2e05e66 100644 --- a/tests/PathOpsCubicIntersectionTest.cpp +++ b/tests/PathOpsCubicIntersectionTest.cpp @@ -164,11 +164,23 @@ static const SkDCubic testSet[] = { const size_t testSetCount = SK_ARRAY_COUNT(testSet); static const SkDCubic newTestSet[] = { +{{{275,532}, {277.209137,532}, {279,530.209106}, {279,528}}}, +{{{278,529}, {278,530.65686}, {276.65686,532}, {275,532}}}, + #if 0 // FIXME: asserts coincidence, not working yet {{{195, 785}, {124.30755615234375, 785}, {67, 841.85986328125}, {67, 912}}}, {{{67, 913}, {67, 842.30755615234375}, {123.85984039306641, 785}, {194, 785}}}, #endif +{{{149,710.001465}, {149.000809,712.209961}, {150.791367,714}, {153,714}}}, +{{{154,715}, {151.238571,715}, {149,712.761414}, {149,710}}}, + +{{{1,2}, {1,2}, {2,0}, {6,0}}}, +{{{0,2}, {0,6}, {2,1}, {2,1}}}, + +{{{0,1}, {2,3}, {5,1}, {4,3}}}, +{{{1,5}, {3,4}, {1,0}, {3,2}}}, + {{{399,657}, {399,661.970581}, {403.029449,666}, {408,666}}}, {{{406,666}, {402.686279,666}, {400,663.313721}, {400,660}}}, -- cgit v1.2.3