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

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

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

revision 1.2 by tjl, Tue Feb 4 21:24:10 2003 UTC revision 1.3 by tjl, Wed Feb 5 08:14:45 2003 UTC
# Line 24  space = gzz.impl.ModularSpace(*test.tool Line 24  space = gzz.impl.ModularSpace(*test.tool
24  zzNodes.viewcontext.setDims(jarray.array(  zzNodes.viewcontext.setDims(jarray.array(
25      [space.getDim(i) for i in [Ids.d_1, Ids.d_2, Ids.d_3]], gzz.Dim))      [space.getDim(i) for i in [Ids.d_1, Ids.d_2, Ids.d_3]], gzz.Dim))
26    
27  span = sb.getCurrent().subSpan(0,1).subArea(10, 10, 200, 200)  wholepage = sb.getCurrent().subSpan(0,1)
28    span = wholepage.subArea(10, 10, 400, 400)
29    
30  # Put a piece of the pagespan into it  # Put a piece of the pagespan into it
31  cell = space.getHomeCell()  cell = space.getHomeCell()
# Line 45  class Scene(buoymanager.RealBuoyManager) Line 46  class Scene(buoymanager.RealBuoyManager)
46      def __init__(self):      def __init__(self):
47          buoymanager.RealBuoyManager.__init__(self,          buoymanager.RealBuoyManager.__init__(self,
48                  adaptor, None, cell)                  adaptor, None, cell)
49    
50    currentScene = Scene()

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

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