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

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

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

revision 1.43 by tjl, Thu Oct 3 08:51:46 2002 UTC revision 1.44 by tjl, Thu Oct 3 10:12:32 2002 UTC
# Line 13  reload(effects) Line 13  reload(effects)
13  # Now, this is the start of the REAL demo, the one  # Now, this is the start of the REAL demo, the one
14  # with Xanadu links between PDF and text.  # with Xanadu links between PDF and text.
15    
 screensize = (1024, 768) # assuming XGA projector.  
   
 # center = little above physical center  
 screenctr = (0.9 * screensize[0]/2, screensize[1]/2)  
16    
17  # Slow animation for the demo.  # Slow animation for the demo.
18  AbstractUpdateManager.defaultAnimationTime = 3000  AbstractUpdateManager.defaultAnimationTime = 3000
# Line 44  gzz.media.impl.PageImageScroll(None, gzz Line 40  gzz.media.impl.PageImageScroll(None, gzz
40  )  )
41    
42    
 def enf2span(enf):  
     list = enf.getList()  
     return list[0]  
   
43  d1cell = space.N()  d1cell = space.N()
44  d1 = space.getDim(d1cell)  d1 = space.getDim(d1cell)
45    

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

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