svghmi/geometry.ysl2
branchsvghmi
changeset 2904 92d115d8828d
parent 2879 58e6a91dc37f
child 2939 4296ab974d4d
--- 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 @@
 // <bbox x="0" y="0" w="42" h="42">
 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