shape ops work in progress
add xor spot tests
rewrite path compare
work on quadratic, angle, tooCloseToCall code

git-svn-id: http://skia.googlecode.com/svn/trunk@5255 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/experimental/Intersection/EdgeDemoApp.mm b/experimental/Intersection/EdgeDemoApp.mm
index e3be2ca..f5ed426 100644
--- a/experimental/Intersection/EdgeDemoApp.mm
+++ b/experimental/Intersection/EdgeDemoApp.mm
@@ -15,9 +15,10 @@
     };
 protected:
     virtual void onDraw(SkCanvas* canvas) {
-        static int step = -1;
+        static int step = 0; // useNew triggers error at 23275
+                             // error is not easy to debug in its current state
         static double seconds;
-        static bool useOld = true;
+        static bool useOld = false;
         if (step == -1) {
             timeval t;
             gettimeofday(&t, NULL);
@@ -27,7 +28,7 @@
         canvas->drawColor(SK_ColorWHITE);
         if (DrawEdgeDemo(canvas, step, useOld)) {
             ++step;
-            if (step == 3200) {
+            if (step == 23270) {
                 timeval t;
                 gettimeofday(&t, NULL);
                 double last = seconds;
@@ -43,6 +44,9 @@
     typedef SkView INHERITED; 
 };
 
+void application_init();
+void application_term();
+
 void application_init() {
     SkGraphics::Init();
     SkEvent::Init();
@@ -66,7 +70,7 @@
 @implementation SimpleNSView
 
 - (id)initWithDefaults {
-    if (self = [super initWithDefaults]) {
+    if ((self = [super initWithDefaults])) {
         fWind = new SkOSWindow(self); 
         fWind->setLayout(new FillLayout, false);
         fWind->attachChildToFront(new SkSampleView)->unref();