svghmi/geometry.ysl2
branchsvghmi
changeset 2879 58e6a91dc37f
parent 2875 6a12e1084deb
child 2904 92d115d8828d
equal deleted inserted replaced
2878:bec552270ad1 2879:58e6a91dc37f
     8 const "geometry", "ns:GetSVGGeometry()";
     8 const "geometry", "ns:GetSVGGeometry()";
     9 
     9 
    10 // Debug data
    10 // Debug data
    11 function "debug_geometry" {
    11 function "debug_geometry" {
    12     | ID, x, y, w, h
    12     | ID, x, y, w, h
    13     foreach "$geometry[@Id = $hmi_elements/@id]"
    13     foreach "$geometry"
    14         |  «@Id» «@x» «@y» «@w» «@h»
    14         |  «@Id» «@x» «@y» «@w» «@h»
    15 }
    15 }
    16 !debug_output_calls.append("debug_geometry")
    16 !debug_output_calls.append("debug_geometry")
    17 
    17 
    18 // Rates 1D intersection of 2 segments A and B
    18 // Rates 1D intersection of 2 segments A and B