add SkPath as real lua object

R=robertphillips@google.com

Review URL: https://codereview.chromium.org/15563013

git-svn-id: http://skia.googlecode.com/svn/trunk@9221 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tools/lua/scrape.lua b/tools/lua/scrape.lua
index e4a38ae..9263612 100644
--- a/tools/lua/scrape.lua
+++ b/tools/lua/scrape.lua
@@ -57,6 +57,17 @@
         print("... ", tostr(m), "\n")
     end
 
+    if false and t.verb == "drawPath" then
+        local pred, r1, r2, d1, d2 = t.path:isNestedRects()
+        
+        if pred then
+            print("drawRect_Nested", tostr(r1), tostr(r2), d1, d2)
+        else
+            print("drawPath", "isEmpty", tostring(t.path:isEmpty()),
+                    "isRect", tostring(t.path:isRect()), tostr(t.path:getBounds()))
+        end
+    end
+
     -- enable to dump all of the parameters we were sent
     if false then
         -- dump the params in t, specifically showing the verb first, which we