diff options
author | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-11-01 17:36:03 +0000 |
---|---|---|
committer | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-11-01 17:36:03 +0000 |
commit | a2bbc6e19d5332e81784e582c290cc060f40c4c7 (patch) | |
tree | 507a82e41b5a59f261295718091f0f1491b3d894 /tests/PathOpsCubicIntersectionTest.cpp | |
parent | 045c3d330c6c14f090c2222ece08d82cb84fb3ea (diff) |
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
Diffstat (limited to 'tests/PathOpsCubicIntersectionTest.cpp')
-rw-r--r-- | tests/PathOpsCubicIntersectionTest.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
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}}}, |