svghmi/default.svg
author Edouard Tisserant <edouard.tisserant@gmail.com>
Wed, 05 Aug 2020 18:49:29 +0200
branchsvghmi
changeset 3005 ff9ae4f4e3be
parent 2750 2694170cd88e
child 3274 16066300b254
permissions -rw-r--r--
SVGHMI: widgets are not anymore binary relative or absolute, but have a "relativeness".

Because of allowing multiple variables per widget, we must distinguish if individual variables is relative to page, not the whole widget.
2750
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
     2
<!-- Created with Inkscape (http://www.inkscape.org/) -->
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
     3
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
     4
<svg
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
     5
   xmlns:dc="http://purl.org/dc/elements/1.1/"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
     6
   xmlns:cc="http://creativecommons.org/ns#"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
     7
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
     8
   xmlns:svg="http://www.w3.org/2000/svg"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
     9
   xmlns="http://www.w3.org/2000/svg"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    10
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    11
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    12
   width="1280"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    13
   height="720"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    14
   viewBox="0 0 1280 720"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    15
   version="1.1"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    16
   id="hmi0"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    17
   sodipodi:docname="default.svg"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    18
   inkscape:version="0.92.3 (2405546, 2018-03-11)">
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    19
  <metadata
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    20
     id="metadata4542">
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    21
    <rdf:RDF>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    22
      <cc:Work
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    23
         rdf:about="">
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    24
        <dc:format>image/svg+xml</dc:format>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    25
        <dc:type
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    26
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    27
        <dc:title />
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    28
      </cc:Work>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    29
    </rdf:RDF>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    30
  </metadata>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    31
  <defs
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    32
     id="defs2" />
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    33
  <sodipodi:namedview
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    34
     id="base"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    35
     pagecolor="#ffffff"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    36
     bordercolor="#666666"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    37
     borderopacity="1.0"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    38
     inkscape:pageopacity="0"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    39
     inkscape:pageshadow="2"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    40
     inkscape:document-units="px"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    41
     inkscape:current-layer="hmi0"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    42
     showgrid="false"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    43
     units="px"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    44
     inkscape:zoom="0.7"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    45
     inkscape:cx="576.80864"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    46
     inkscape:cy="330.28432"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    47
     inkscape:window-width="1600"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    48
     inkscape:window-height="886"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    49
     inkscape:window-x="0"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    50
     inkscape:window-y="27"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    51
     inkscape:window-maximized="1" />
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    52
  <rect
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    53
     style="color:#000000"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    54
     id="page0"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    55
     width="1280"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    56
     height="720"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    57
     x="0"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    58
     y="0">
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    59
    <desc
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    60
       id="desc_page0">This is description for page 0
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    61
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    62
all lines in the form &quot;name: value&quot; 
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    63
are used as js object definition initializer
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    64
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    65
role: &quot;page&quot;
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    66
name: &quot;Home&quot;
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    67
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    68
after triple opening braces is global JavaScript code
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    69
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    70
{{{
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    71
/* JS style Comment */
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    72
alert(&quot;Hello World&quot;);
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    73
}}}
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    74
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    75
after triple closing braces is back to description
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    76
</desc>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    77
  </rect>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    78
  <text
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    79
     xml:space="preserve"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    80
     style="font-style:normal;font-weight:normal;font-size:160px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    81
     x="436.32812"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    82
     y="418.24219"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    83
     id="text5151"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    84
     inkscape:label="count"><desc
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    85
       id="desc5153">path: &quot;count&quot;
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    86
format: &quot;%4.4d&quot;</desc><tspan
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    87
       sodipodi:role="line"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    88
       id="tspan5149"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    89
       x="436.32812"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    90
       y="418.24219"
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    91
       style="stroke-width:1px">8888</tspan></text>
2694170cd88e intermediate commit, work in progress
Edouard Tisserant
parents:
diff changeset
    92
</svg>