5 |
# General Public License, either version 2 of the license or, |
# General Public License, either version 2 of the license or, |
6 |
# at your choice, any later version. Alternatively, you may use and |
# at your choice, any later version. Alternatively, you may use and |
7 |
# distribute under the terms of the XPL. |
# distribute under the terms of the XPL. |
8 |
# |
# |
9 |
# See the LICENSE.lgpl and LICENSE.xpl files for the specific terms of |
# See the LICENSE.lgpl and LICENSE.xpl files for the specific terms of |
10 |
# the licenses. |
# the licenses. |
11 |
# |
# |
12 |
# This software is distributed in the hope that it will be useful, |
# This software is distributed in the hope that it will be useful, |
13 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the README |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the README |
15 |
# file for more details. |
# file for more details. |
16 |
# |
# |
17 |
|
|
18 |
|
|
19 |
import gzz |
import gzz |
34 |
h = v.getHeight(c, w, 1) |
h = v.getHeight(c, w, 1) |
35 |
|
|
36 |
print vs.coords |
print vs.coords |
37 |
cs = vs.coords.coordsys(0, 'key', 0, 100, 100, w, h) |
cs = vs.coordsys(0, 'key', 0, 100, 100, 2, 2) |
38 |
v.place(c, vs, cs, None, 1) |
cs_in = vs.coords.coordsys(0, 0, 0, 0, w, h) |
39 |
|
v.place(c, vs, cs, cs_in, 0, 0, w, h, None, 1) |
40 |
|
|
41 |
|
|
42 |
currentScene = Scene() |
currentScene = Scene() |