# HG changeset patch
# User Edouard Tisserant
# Date 1663079512 -7200
# Node ID be87303d5b2d3d413fc071a2f04d1fa68876ba8b
# Parent f1a00aa8cb3b34881d5c282ec848b50ab49a1689
SVGHMI: fix svghmi_jumps example's SVG file (viewport was misplaced)
diff -r f1a00aa8cb3b -r be87303d5b2d exemples/svghmi_jumps/svghmi_0@svghmi/svghmi.svg
--- a/exemples/svghmi_jumps/svghmi_0@svghmi/svghmi.svg Tue Sep 13 16:29:21 2022 +0200
+++ b/exemples/svghmi_jumps/svghmi_0@svghmi/svghmi.svg Tue Sep 13 16:31:52 2022 +0200
@@ -14,9 +14,9 @@
sodipodi:docname="svghmi.svg"
id="hmi0"
version="1.1"
- viewBox="0 0 86.838715 71.615021"
- height="71.615021"
- width="86.838715">
+ viewBox="0 0 1280 720"
+ height="720"
+ width="1280">
@@ -25,6 +25,7 @@
image/svg+xml
+
@@ -43,15 +44,20 @@
inkscape:window-height="836"
id="namedview4"
showgrid="false"
- inkscape:zoom="0.32777778"
- inkscape:cx="158.60164"
- inkscape:cy="1248.3293"
+ inkscape:zoom="0.23177389"
+ inkscape:cx="1999.5317"
+ inkscape:cy="-682.74047"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="1"
inkscape:current-layer="hmi0"
showguides="true"
- inkscape:guide-bbox="true" />
+ inkscape:guide-bbox="true"
+ borderlayer="true"
+ fit-margin-top="0"
+ fit-margin-left="0"
+ fit-margin-right="0"
+ fit-margin-bottom="0" />
@@ -96,7 +102,7 @@
inkscape:label="HMI:Page:AbsolutePage"
height="100%"
width="100%"
- transform="translate(1320,760)"
+ transform="translate(1320,759.99998)"
id="use2500"
xlink:href="#g2496"
y="0"
@@ -114,18 +120,18 @@
sodipodi:insensitive="true" />
HMI:Back
+ transform="translate(0,660.00004)">
Absolute Page
+ x="639.74609"
+ y="853.55939">Absolute Page
Home Page
+ transform="translate(-2.2461,129.42912)">
HMI:PushButton@/ENTERING_PAGE
HMI:Jump:AbsolutePage
HMI:Jump:AbsolutePage:notify=true@notify=/ENTERING_PAGE
- HMI:Jump:AbsolutePage:notify=true@notify=/ENTERING_PAGE
+
Unconditional Jumps
+ x="1959.7461"
+ y="73.559319">Unconditional Jumps
HMI:Jump:AbsolutePage@enable=/ENABLE_JUMP@level=user_level#enable && level>2
+ transform="translate(2620,240.00002)">
Conditional Jumps
Unconditional Jumps >
Conditional Jumps >
+ x="639.88281"
+ y="293.55933">Conditional Jumps >
+ transform="translate(0,2.1367187e-5)">
@@ -418,7 +424,7 @@
y="0"
xlink:href="#rect2311"
id="use2437"
- transform="translate(1532.5298,1563.4227)"
+ transform="translate(400,-2.1367187e-5)"
width="100%"
height="100%"
inkscape:label="inactive" />
@@ -440,7 +446,7 @@
@@ -484,7 +490,7 @@
y="0"
xlink:href="#rect2311"
id="use2445"
- transform="translate(1532.5298,1763.4227)"
+ transform="translate(400,199.99998)"
width="100%"
height="100%"
inkscape:label="inactive" />
@@ -506,7 +512,7 @@
+ transform="translate(-20,126.00002)">
@@ -737,7 +743,7 @@
+ transform="translate(0,2.1367187e-5)">
+ transform="translate(2498.5763,-99.999979)">
0
Relative Jumps
+ transform="translate(1172.2562,635.19155)">
+ inkscape:label="HMI:Display@page_node"
+ transform="translate(1132.5298,1563.4227)">
0
SOME_BOOL
+ x="533.80023"
+ y="1809.3259">SOME_BOOL
?
+ x="525.4079"
+ y="1967.2367">?
SOME_STRING
@@ -1189,7 +1196,7 @@
+ transform="translate(4,38.000021)">
@@ -1261,7 +1268,7 @@
y="0"
xlink:href="#rect2311"
id="use1829"
- transform="translate(1532.5298,1563.4227)"
+ transform="translate(400,-2.1367187e-5)"
width="100%"
height="100%"
inkscape:label="inactive" />
@@ -1292,7 +1299,7 @@
@@ -1385,7 +1392,7 @@
y="0"
xlink:href="#rect2311"
id="use2437-3"
- transform="translate(1532.5298,1563.4227)"
+ transform="translate(400,-2.1367187e-5)"
width="100%"
height="100%"
inkscape:label="inactive" />
@@ -1434,8 +1441,8 @@
id="rect1807"
width="280"
height="81.859505"
- x="-2838.4492"
- y="-1545.5862"
+ x="-1705.9194"
+ y="17.83654"
ry="21.355932"
rx="21.355932"
inkscape:label="disabled_template" />
@@ -1444,8 +1451,8 @@
id="rect2311"
width="280"
height="81.859505"
- x="-2838.4492"
- y="-1545.5862"
+ x="-1705.9194"
+ y="17.83654"
ry="21.355932"
rx="21.355932"
inkscape:label="inactive_template" />
@@ -1453,8 +1460,8 @@
inkscape:label="active_template"
rx="21.355932"
ry="21.355932"
- y="-1545.5862"
- x="-2838.4492"
+ y="17.83654"
+ x="-1705.9194"
height="81.859505"
width="280"
id="rect2313"
@@ -1462,16 +1469,16 @@
Relative Jumps >
+ transform="translate(1172.2562,915.19155)">
+ transform="translate(533.4687,483.39042)">
0
+ transform="translate(533.4687,643.39042)">
2
+ transform="translate(533.4687,803.39042)">
4
HMI:Jump:RelativePage@/FB_FOUR
HMI:Jump:RelativePage@/FB_TWO
+ x="1979.5443"
+ y="1226.9857">HMI:Jump:RelativePage@/FB_TWO
HMI:Jump:RelativePage@/FB_ZERO
HMI:ForEach:MYNODE@/
+ x="640.67114"
+ y="2120.4246">HMI:ForEach:MYNODE@/
+ x="703.23212"
+ y="624.15002" />
Notes: Notes: - Widget roles are described in objects labels.- Press Ctrl+O to open object properties panel- To see objects in a tree, select Object->Objects in menu- Inkscape's "objects" are SVG elements- Press Ctrl+X to edit SVG elements directly with XML editor