svghmi/geometry.ysl2
branchsvghmi
changeset 2875 6a12e1084deb
parent 2873 022db76c3bff
child 2879 58e6a91dc37f
equal deleted inserted replaced
2874:b67af0b8dc72 2875:6a12e1084deb
     7 // <bbox x="0" y="0" w="42" h="42">
     7 // <bbox x="0" y="0" w="42" h="42">
     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     | GEOMETRY : ID, x, y, w, h
    12     | ID, x, y, w, h
    13     foreach "$geometry[@Id = $hmi_elements/@id]"
    13     foreach "$geometry[@Id = $hmi_elements/@id]"
    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