MQTT: WIP supporting structured types : do not crash when generating C code if using location with no size
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="67.474609mm"
height="60.631752mm"
viewBox="0 0 67.474609 60.631752"
version="1.1"
id="svg2092"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
sodipodi:docname="svghmi_meter.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs2086">
<marker
inkscape:isstock="true"
style="overflow:visible"
id="marker19820"
refX="0"
refY="0"
orient="auto"
inkscape:stockid="Arrow1Mend"
inkscape:collect="always">
<path
inkscape:connector-curvature="0"
transform="matrix(-0.4,0,0,-0.4,-4,0)"
style="fill:#3ee800;fill-opacity:1;fill-rule:evenodd;stroke:#3ee800;stroke-width:1pt;stroke-opacity:1"
d="M 0,0 5,-5 -12.5,0 5,5 Z"
id="path19818" />
</marker>
<marker
inkscape:stockid="Arrow1Mend"
orient="auto"
refY="0"
refX="0"
id="marker25117"
style="overflow:visible"
inkscape:isstock="true"
inkscape:collect="always">
<path
inkscape:connector-curvature="0"
id="path25115"
d="M 0,0 5,-5 -12.5,0 5,5 Z"
style="fill:#3ee800;fill-opacity:1;fill-rule:evenodd;stroke:#3ee800;stroke-width:1pt;stroke-opacity:1"
transform="matrix(-0.4,0,0,-0.4,-4,0)" />
</marker>
<marker
inkscape:stockid="DotM"
orient="auto"
refY="0"
refX="0"
id="DotM"
style="overflow:visible"
inkscape:isstock="true"
inkscape:collect="always">
<path
inkscape:connector-curvature="0"
id="path8269"
d="m -2.5,-1 c 0,2.76 -2.24,5 -5,5 -2.76,0 -5,-2.24 -5,-5 0,-2.76 2.24,-5 5,-5 2.76,0 5,2.24 5,5 z"
style="fill:#ff6600;fill-opacity:1;fill-rule:evenodd;stroke:#ff6600;stroke-width:1pt;stroke-opacity:1"
transform="matrix(0.4,0,0,0.4,2.96,0.4)" />
</marker>
<marker
inkscape:stockid="Arrow1Mend"
orient="auto"
refY="0"
refX="0"
id="marker26099"
style="overflow:visible"
inkscape:isstock="true"
inkscape:collect="always">
<path
inkscape:connector-curvature="0"
id="path26097"
d="M 0,0 5,-5 -12.5,0 5,5 Z"
style="fill:#ff6600;fill-opacity:1;fill-rule:evenodd;stroke:#ff6600;stroke-width:1pt;stroke-opacity:1"
transform="matrix(-0.4,0,0,-0.4,-4,0)" />
</marker>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.49497475"
inkscape:cx="-358.60415"
inkscape:cy="171.72593"
inkscape:document-units="mm"
inkscape:current-layer="svg2092"
showgrid="false"
inkscape:window-width="1548"
inkscape:window-height="811"
inkscape:window-x="26"
inkscape:window-y="23"
inkscape:window-maximized="0"
inkscape:pagecheckerboard="0"
lock-margins="true"
fit-margin-top="5"
fit-margin-left="5"
fit-margin-right="5"
fit-margin-bottom="5" />
<metadata
id="metadata2089">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="g7998"
transform="matrix(0.57180538,0,0,0.57180538,-19.643204,48.883033)"
inkscape:label="HMI:Meter@/PUMP0/SLOTH">
<desc
id="desc3869">A sophisticated meter looking like real</desc>
<path
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#3ee800;stroke-width:1.38815;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:url(#marker19820);marker-end:url(#marker25117);color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
id="path7978"
sodipodi:type="arc"
sodipodi:cx="128.02208"
sodipodi:cy="2.2017097"
sodipodi:rx="64.411957"
sodipodi:ry="64.411957"
sodipodi:start="3.1415927"
sodipodi:end="4.712389"
d="M 63.610123,2.2017097 A 64.411957,64.411957 0 0 1 128.02208,-62.210247"
sodipodi:open="true"
inkscape:label="range"
sodipodi:arc-type="arc" />
<path
style="opacity:1;vector-effect:none;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ff6600;stroke-width:0.925431;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:29.6333;stroke-opacity:1;marker-start:url(#DotM);marker-end:url(#marker26099)"
d="M 130.96206,4.0725977 79.111776,-41.363223"
id="path7980"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc"
inkscape:label="needle" />
<text
inkscape:label="min"
id="text7984"
y="4.9187088"
x="49.132977"
style="font-style:normal;font-weight:normal;font-size:10.5833px;line-height:125%;font-family:sans-serif;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#ff6600;fill-opacity:1;stroke:none;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
xml:space="preserve"><tspan
style="text-align:end;text-anchor:end;fill:#ff6600;stroke-width:0.264583px"
y="4.9187088"
x="49.132977"
id="tspan7982"
sodipodi:role="line">0</tspan></text>
<text
inkscape:label="max"
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:10.5833px;line-height:125%;font-family:sans-serif;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#ff6600;fill-opacity:1;stroke:none;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="127.48073"
y="-68.889908"
id="text7988"><tspan
sodipodi:role="line"
id="tspan7986"
x="127.48073"
y="-68.889908"
style="text-align:center;text-anchor:middle;fill:#ff6600;stroke-width:0.264583px">10000</tspan></text>
<text
inkscape:label="value"
id="text7992"
y="-52.465355"
x="67.258514"
style="font-style:normal;font-weight:normal;font-size:10.5833px;line-height:125%;font-family:sans-serif;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#ff6600;fill-opacity:1;stroke:none;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
xml:space="preserve"><tspan
id="tspan7990"
style="text-align:center;text-anchor:middle;fill:#ff6600;stroke-width:0.264583px"
y="-52.465355"
x="67.258514"
sodipodi:role="line">[value]</tspan></text>
</g>
</svg>