aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/lua/dump_clipstack_at_restore.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lua/dump_clipstack_at_restore.lua')
-rw-r--r--tools/lua/dump_clipstack_at_restore.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/lua/dump_clipstack_at_restore.lua b/tools/lua/dump_clipstack_at_restore.lua
index d53f5a3712..4691b5b250 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