Index: tools/lua/dump_clipstack_at_restore.lua |
diff --git a/tools/lua/dump_clipstack_at_restore.lua b/tools/lua/dump_clipstack_at_restore.lua |
index d53f5a3712b924acd3ca49b7b5faefa7fb604728..4691b5b250720fd6c906b3b9958cda7c14d3d8e9 100644 |
--- a/tools/lua/dump_clipstack_at_restore.lua |
+++ b/tools/lua/dump_clipstack_at_restore.lua |
@@ -14,7 +14,13 @@ function sk_scrape_accumulate(t) |
io.write("Clip Stack at restore #", restoreCount, ":\n") |
for i = 1, #clipstack do |
local element = clipstack[i]; |
- io.write("\t", element["op"], ", ", element["type"], ", aa:", tostring(element["aa"]), "\n") |
+ io.write("\t", element["op"], ", ", element["type"], ", aa:", tostring(element["aa"])) |
+ if (element["type"] == "path") then |
+ io.write(", fill: ", element["path"]:getFillType()) |
+ io.write(", segments: \"", element["path"]:getSegmentTypes(), "\"") |
+ io.write(", convex:", tostring(element["path"]:isConvex())) |
+ end |
+ io.write("\n") |
end |
io.write("\n") |
else |