shape ops work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@6223 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/experimental/Intersection/EdgeDemo.cpp b/experimental/Intersection/EdgeDemo.cpp
index 00eac48..8586c2b 100644
--- a/experimental/Intersection/EdgeDemo.cpp
+++ b/experimental/Intersection/EdgeDemo.cpp
@@ -228,20 +228,20 @@
}
static void tryRonco(const SkPath& path) {
- int divMax = 17;
+ int divMax = 64;
int divMin = 1;
int xDivMin = 0;
int yDivMin = 0;
bool allYs = true;
bool allXs = true;
if (1) {
- divMax = divMin = 3;
- xDivMin = 0;
+ divMax = divMin = 64;
+ xDivMin = 11;
yDivMin = 0;
allXs = true;
allYs = true;
}
- for (int divs = divMax; divs >= divMin; divs -= 2) {
+ for (int divs = divMax; divs >= divMin; divs /= 2) {
SkDebugf("divs=%d\n",divs);
const SkRect& overall = path.getBounds();
SkScalar cellWidth = overall.width() / divs * 2;
@@ -292,7 +292,7 @@
for (int mask = 0; mask < 1 << testStrLen; ++mask) {
char maskStr[testStrLen];
#if 1
- mask = 3;
+ mask = 12;
oneShot = true;
#endif
SkDebugf("mask=%d\n", mask);
@@ -310,7 +310,7 @@
}
#endif
paint.getPosTextPath(testStr, testStrLen, textPos, &path);
-#if 1
+#if 0
tryRonco(path);
SkDebugf("RoncoDone!\n");
#endif