/[gzz]/gzz/gfx/demo/brokentext.py
ViewVC logotype

Diff of /gzz/gfx/demo/brokentext.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by benja, Sat Sep 21 16:47:15 2002 UTC revision 1.4 by benja, Sat Sep 28 08:30:22 2002 UTC
# Line 5  Line 5 
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
# Line 34  class Scene: Line 34  class Scene:
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()

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26