27 |
|
|
28 |
.. UML:: ppcoordscanvas |
.. UML:: ppcoordscanvas |
29 |
|
|
30 |
class frame2Root "*CS" |
class frameToRoot "*CS" |
31 |
|
|
32 |
class panZoom "*CS" |
class panZoom "*CS" |
33 |
|
|
34 |
|
|
35 |
class frameCentered "translateCS" |
class frameUnit "unitSqCS" |
36 |
vobtransform - frame2Root |
vobtransformsub - frameToRoot |
37 |
|
|
38 |
frcmat = vobsubmatch frameCentered frame2Root |
class frameCentered "translateCS" |
39 |
|
vobtransformsub - frameToRoot |
40 |
|
|
41 |
class Paper2Screen "concatCS" |
class paperToScreen "concatCS" |
42 |
vobtransform - role(0) frameCentered |
vobtransform - role(0) frameCentered |
43 |
vobtransform - role(1) panZoom |
vobtransform - role(1) panZoom |
44 |
vobsubmatch frame2Root |
vobsubmatch frameToRoot |
45 |
|
|
46 |
class Bg2Screen "scaleCS" |
class screenToPaper "invertCS" |
47 |
vobtransform - Paper2Screen |
vobtransformsub - paperToScreen |
48 |
|
|
49 |
|
class frameUnitToPaper "concatCS" |
50 |
|
vobtransformsub - role(0) screenToPaper |
51 |
|
vobtransform - role(1) frameUnit |
52 |
|
|
53 |
|
|
54 |
|
class bgToScreen "scaleCS" |
55 |
|
vobtransformsub - paperToScreen |
56 |
|
|
57 |
|
class paperToScreenShifted "translateCS" |
58 |
|
vobtransformsub - paperToScreen |
59 |
|
|
60 |
|
class contentToScreen "*cs" |
61 |
|
vobtransformsub multi(*) - multi(1) paperToScreenShifted |
62 |
|
|
63 |
|
class BackgroundVob |
64 |
|
vobin - bgToScreen |
65 |
|
|
66 |
|
class ContentVob |
67 |
|
vobin multi(1) - multi(1) contentToScreen |
68 |
|
|
69 |
|
class IrreguFrameVob |
70 |
|
vobin multi(1) - multi(1) role(paper) paperToScreen |
71 |
|
vobin multi(1) - multi(1) role(frame) frameUnit |
72 |
|
|
73 |
|
--- |
74 |
|
|
75 |
|
vertically(120, vobs, |
76 |
|
IrreguFrameVob, |
77 |
|
ContentVob, |
78 |
|
BackgroundVob |
79 |
|
); |
80 |
|
|
81 |
|
horizontally(50, levi, frameToRoot, panZoom); |
82 |
|
horizontally(40, levii, frameCentered); |
83 |
|
horizontally(50, leviii, |
84 |
|
frameUnit, |
85 |
|
paperToScreen); |
86 |
|
horizontally(60, leviv, |
87 |
|
bgToScreen, |
88 |
|
screenToPaper, |
89 |
|
paperToScreenShifted |
90 |
|
); |
91 |
|
horizontally(60, levv, |
92 |
|
frameUnitToPaper, |
93 |
|
contentToScreen |
94 |
|
); |
95 |
|
|
96 |
|
pair offs; |
97 |
|
offs = (0, -100); |
98 |
|
levi.c = (0,0); |
99 |
|
levii.c = levi.c + offs; |
100 |
|
leviii.c = levii.c + offs; |
101 |
|
leviv.c = leviii.c + offs; |
102 |
|
levv.c = leviv.c + offs; |
103 |
|
|
104 |
|
vobs.c = levii.c - (300,0); |
105 |
|
|
106 |
|
The system of coordinate systems inside a *single* |
107 |
|
irregularframe of the final view. There is one of each |
108 |
|
coordsys, except for ``contentToScreen``. |
109 |
|
|
110 |
.. UML:: ppcoords1 |
.. UML:: ppcoords1 |
111 |
|
|