diff -r 881d0248b3ce -r 92d115d8828d svghmi/geometry.ysl2 --- a/svghmi/geometry.ysl2 Fri Mar 27 14:25:24 2020 +0100 +++ b/svghmi/geometry.ysl2 Sun Mar 29 16:11:21 2020 +0200 @@ -7,13 +7,14 @@ // const "geometry", "ns:GetSVGGeometry()"; +reflect:geometry; + // Debug data -function "debug_geometry" { +template "reflect:geometry", mode="debug" { | ID, x, y, w, h foreach "$geometry" | «@Id» «@x» «@y» «@w» «@h» } -!debug_output_calls.append("debug_geometry") // Rates 1D intersection of 2 segments A and B // described respectively with a0,a1 and b0,b1