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

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

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

revision 1.36 by jvk, Mon Oct 7 14:22:25 2002 UTC revision 1.37 by jvk, Tue Oct 8 12:34:13 2002 UTC
# Line 177  class PaperScene: Line 177  class PaperScene:
177          print "Seed: ",self.seed," pq ",self.pq          print "Seed: ",self.seed," pq ",self.pq
178          vs.map.put(self.pq, cs1, cs2)          vs.map.put(self.pq, cs1, cs2)
179    
180          putText(vs, cs1, str(self.seed), color=(0,0,0), x=-1, y=-1, w=.085, h=.08)          putText(vs, cs1, str(self.seed), color=(0,0,0), x=-1, y=-1, h=.08)
181    
182          if self.renderPaper:          if self.renderPaper:
183              putnoc(vs, getDList("""              putnoc(vs, getDList("""
# Line 271  class MultiPaperScene: Line 271  class MultiPaperScene:
271              vs.matcher.add(cs1[i], str(i))              vs.matcher.add(cs1[i], str(i))
272                            
273              vs.map.put(self.pq[i], cs1[i], cs2)              vs.map.put(self.pq[i], cs1[i], cs2)
274              putText(vs, cs1[i], str(self.seed + i), color=(0,0,0), x=-1,y=1,z=-1,w=.32, h=.32)              putText(vs, cs1[i], str(self.seed + i), color=(0,0,0), x=-1,y=1,z=-1, h=.32)
275    
276          dobenchmark(w, vs)          dobenchmark(w, vs)
277    
# Line 322  class DummyScene: Line 322  class DummyScene:
322          cs1 = vs.coords.affineCoordsys(0, 10, 600, 500, 450, 0, 0, 450)          cs1 = vs.coords.affineCoordsys(0, 10, 600, 500, 450, 0, 0, 450)
323          vs.matcher.add(cs1, "1")          vs.matcher.add(cs1, "1")
324    
325          putText(vs, cs1, "F1, F2", color=(0,0,0), w=.16, h=.16)          putText(vs, cs1, "F1, F2", color=(0,0,0), h=.16)
326    
327    
328    

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37

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