author | Edouard Tisserant <edouard.tisserant@gmail.com> |
Mon, 16 Mar 2020 18:27:49 +0100 | |
branch | svghmi |
changeset 2872 | 83adf8859c55 |
parent 2870 | svghmi/gen_index_xhtml.ysl2@634b43d69897 |
permissions | -rw-r--r-- |
2872
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
1 |
// bbox_intersect.ysl2 |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
2 |
// |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
3 |
// bounding boxes intersection tests |
2779
75c6a31caca6
SVGHMI: Work In Progress : fixed pointer types in ctypes interface, cleaned up server startup and cleanup code, changed document type to XHTML, cleaner JS script : encapsulated in a function and in CDATA.
Edouard Tisserant
parents:
2763
diff
changeset
|
4 |
|
2872
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
5 |
// Rates 1D intersection of 2 segments A and B |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
6 |
// described respectively with a0,a1 and b0,b1 |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
7 |
def "func:intersect_1d" { |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
8 |
// it is assumed that a1 > a0 and b1 > b0 |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
9 |
param "a0"; |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
10 |
param "a1"; |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
11 |
param "b0"; |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
12 |
param "b1"; |
2792
0c0d3895b036
SVGHMI: moved/fixed some templates, avoided namespace problems, added parsing of HMI:* inkscape labels
Edouard Tisserant
parents:
2791
diff
changeset
|
13 |
|
2872
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
14 |
const "d0", "$a0 >= $b0"; |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
15 |
const "d1", "$a1 >= $b1"; |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
16 |
choose { |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
17 |
when "not($d0) and $d1" |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
18 |
// b contained in a |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
19 |
// a0<b0 b1<a1 |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
20 |
// a +--------+ |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
21 |
// b +--+ |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
22 |
result "3"; |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
23 |
when "$d0 and not($d1)" |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
24 |
// a contained in b |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
25 |
// b0<a0 a1<b1 |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
26 |
// a +--+ |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
27 |
// b +--------+ |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
28 |
result "2"; |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
29 |
when "$d0 and $d1 and $a0 < $b1" |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
30 |
// a and b are overlapped |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
31 |
// b0<a0<b1<a1 |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
32 |
// a +-----+ |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
33 |
// b +-----+ |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
34 |
result "1"; |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
35 |
when "not($d0) and not($d1) and $b0 < $a1" |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
36 |
// a and b are overlapped |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
37 |
// a0<b0<a1<b1 |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
38 |
// a +-----+ |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
39 |
// b +-----+ |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
40 |
result "1"; |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
41 |
// since orientation doesn't matter, |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
42 |
// rated same as previous symetrical overlapping |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
43 |
otherwise |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
44 |
result "0"; /* no intersection*/ |
2795 | 45 |
} |
2872
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
46 |
} |
2790
8fab1886ebec
SVGHI: compute hmitree variables ordered index in xslt
Edouard Tisserant
parents:
2789
diff
changeset
|
47 |
|
2843
94696b3f69fb
SVGHMI : still trying to optimize. Added xslt code to identitfy minimum set of elements needed by a particular page. Plan is to remove unseen/unused elements from the DOM, and re-appending them later when used, on page switch. Disabled previous optimization.
Edouard Tisserant
parents:
2842
diff
changeset
|
48 |
|
2872
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
49 |
// Rates intersection A and B areas described with x,y,w and h |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
50 |
// attributes passed as $a and $b parameters. |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
51 |
// |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
52 |
// returns : |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
53 |
// 0 - no intersection |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
54 |
// .-----. |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
55 |
// .-----. | b| |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
56 |
// | | | | |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
57 |
// | | '-----' |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
58 |
// |a | |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
59 |
// '-----' |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
60 |
// |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
61 |
// 1 - overlapping |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
62 |
// .-----. |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
63 |
// .---|--. b| |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
64 |
// | | | | |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
65 |
// | '-----' |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
66 |
// |a | |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
67 |
// '------' |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
68 |
// |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
69 |
// 2 - overlapping |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
70 |
// .-----. |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
71 |
// | a | |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
72 |
// .---|-----|---. |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
73 |
// | '-----' | |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
74 |
// | b | |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
75 |
// '-------------' |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
76 |
// |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
77 |
// 3 - overlapping |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
78 |
// .-----. |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
79 |
// | b | |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
80 |
// .---|-----|---. |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
81 |
// | '-----' | |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
82 |
// | a | |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
83 |
// '-------------' |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
84 |
// |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
85 |
// 4 - a contained in b |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
86 |
// .-------------. |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
87 |
// | .-----. | |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
88 |
// | | a | | |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
89 |
// |b '-----' | |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
90 |
// '-------------' |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
91 |
// |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
92 |
// 6 - overlapping |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
93 |
// .----. |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
94 |
// | b| |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
95 |
// .---|----|---. |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
96 |
// |a | | | |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
97 |
// '---|----|---' |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
98 |
// '----' |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
99 |
// |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
100 |
// 9 - b contained in a |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
101 |
// .-------------. |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
102 |
// | .-----. | |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
103 |
// | | b | | |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
104 |
// |a '-----' | |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
105 |
// '-------------' |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
106 |
// |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
107 |
def "func:intersect" { |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
108 |
param "a"; |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
109 |
param "b"; |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
110 |
|
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
111 |
const "x_intersect", "func:intersect_1d($a/@x, $a/@x+$a/@w, $b/@x, $b/@x+$b/@w)"; |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
112 |
|
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
113 |
choose{ |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
114 |
when "$x_intersect != 0"{ |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
115 |
const "y_intersect", "func:intersect_1d($a/@y, $a/@y+$a/@h, $b/@y, $b/@y+$b/@h)"; |
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
116 |
result "$x_intersect * $y_intersect"; |
2844
eee5dcd9fc92
SVGHMI: detachable and discardable elements sets, Reworked geometric intersection, toward more accurate page content detection.
Edouard Tisserant
parents:
2843
diff
changeset
|
117 |
} |
2872
83adf8859c55
SVGHMI: created bbox_intersect.ysl2
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
2870
diff
changeset
|
118 |
otherwise result "0"; |
2808
dc78ffa5253d
SVGHMI: SVG viewport now defined so that HMI take scales and fit to the view. Implemented page switch through viewport change, no hiding of widget for now.
Edouard Tisserant
parents:
2807
diff
changeset
|
119 |
} |
2753
9a7e12e96399
SVGHMI: Added XSLT transformation, Makefile to get XSLT from ysl2 (copy of plcopen/Makefile) and a minimal stylesheet to start with.
Edouard Tisserant
parents:
diff
changeset
|
120 |
} |