diff options
author | 2012-03-30 18:47:02 +0000 | |
---|---|---|
committer | 2012-03-30 18:47:02 +0000 | |
commit | 198e054b33051a6cd5f606ccbc8d539cefc5631f (patch) | |
tree | a2a05181d0d6b4b8291c2764188c63b2e6aa4a14 /experimental/Intersection/EdgeWalkerRectangles_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/EdgeWalkerRectangles_Test.cpp')
-rw-r--r-- | experimental/Intersection/EdgeWalkerRectangles_Test.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/experimental/Intersection/EdgeWalkerRectangles_Test.cpp b/experimental/Intersection/EdgeWalkerRectangles_Test.cpp index 8dc8627609..a5448e31b6 100644 --- a/experimental/Intersection/EdgeWalkerRectangles_Test.cpp +++ b/experimental/Intersection/EdgeWalkerRectangles_Test.cpp @@ -1,5 +1,8 @@ #include "EdgeWalker_Test.h" #include "Intersection_Tests.h" +#include "SkBitmap.h" + +static SkBitmap bitmap; static void testSimplifyCoincidentInner() { SkPath path, out; @@ -7,7 +10,7 @@ static void testSimplifyCoincidentInner() { path.addRect(10, 10, 60, 60, SkPath::kCCW_Direction); path.addRect(20, 20, 50, 50, SkPath::kCW_Direction); path.addRect(20, 30, 40, 40, SkPath::kCW_Direction); - testSimplify(path, true, out); + testSimplify(path, true, out, bitmap); } static void testSimplifyCoincidentVertical() { @@ -304,7 +307,7 @@ static void testSimplifyOverlap() { SkPath path, out; path.addRect(rect1, static_cast<SkPath::Direction>(dir)); path.addRect(rect2, static_cast<SkPath::Direction>(dir)); - testSimplify(path, true, out); + testSimplify(path, true, out, bitmap); } } } |