diff options
author | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-03-30 18:47:02 +0000 |
---|---|---|
committer | caryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-03-30 18:47:02 +0000 |
commit | 198e054b33051a6cd5f606ccbc8d539cefc5631f (patch) | |
tree | a2a05181d0d6b4b8291c2764188c63b2e6aa4a14 /experimental/Intersection/EdgeWalkerQuadralaterals_Test.cpp | |
parent | 06cd732eff09d8f417ced2779e216d6ce6420f59 (diff) |
shape ops work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@3566 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental/Intersection/EdgeWalkerQuadralaterals_Test.cpp')
-rw-r--r-- | experimental/Intersection/EdgeWalkerQuadralaterals_Test.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/experimental/Intersection/EdgeWalkerQuadralaterals_Test.cpp b/experimental/Intersection/EdgeWalkerQuadralaterals_Test.cpp index a87b37f31b..daf5af77f3 100644 --- a/experimental/Intersection/EdgeWalkerQuadralaterals_Test.cpp +++ b/experimental/Intersection/EdgeWalkerQuadralaterals_Test.cpp @@ -1,5 +1,8 @@ #include "EdgeWalker_Test.h" #include "Intersection_Tests.h" +#include "SkBitmap.h" + +static SkBitmap bitmap; static void testSimplifyQuad1() { SkPath path, out; @@ -13,7 +16,7 @@ static void testSimplifyQuad1() { path.lineTo(1, 3); path.lineTo(1, 3); path.close(); - testSimplify(path, true, out); + testSimplify(path, true, out, bitmap); } static void testSimplifyQuad2() { @@ -28,7 +31,7 @@ static void testSimplifyQuad2() { path.lineTo(1, 1); path.lineTo(0, 2); path.close(); - testSimplify(path, true, out); + testSimplify(path, true, out, bitmap); } static void testSimplifyQuad3() { @@ -43,7 +46,7 @@ static void testSimplifyQuad3() { path.lineTo(2, 1); path.lineTo(0, 2); path.close(); - testSimplify(path, true, out); + testSimplify(path, true, out, bitmap); } static void testSimplifyQuad4() { @@ -58,7 +61,7 @@ static void testSimplifyQuad4() { path.lineTo(3, 1); path.lineTo(3, 3); path.close(); - testSimplify(path, true, out); + testSimplify(path, true, out, bitmap); } static void testSimplifyQuad5() { @@ -73,7 +76,7 @@ static void testSimplifyQuad5() { path.lineTo(2, 1); path.lineTo(0, 2); path.close(); - testSimplify(path, true, out); + testSimplify(path, true, out, bitmap); } static void testSimplifyQuad6() { @@ -88,7 +91,7 @@ static void testSimplifyQuad6() { path.lineTo(1, 1); path.lineTo(2, 2); path.close(); - testSimplify(path, true, out); + testSimplify(path, true, out, bitmap); } static void (*simplifyTests[])() = { |