/[gzz]/gzz/gfx/util/papersampler.py
ViewVC logotype

Diff of /gzz/gfx/util/papersampler.py

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

revision 1.26 by jvk, Wed Mar 5 10:23:05 2003 UTC revision 1.27 by jvk, Sun Mar 9 10:39:17 2003 UTC
# Line 258  class Main(Runnable): Line 258  class Main(Runnable):
258          w.setLocation(0,0,xs,ys)          w.setLocation(0,0,xs,ys)
259    
260          def star(vs):          def star(vs):
261              putText(vs, 0, "*", x=xs*.5-10, y=ys*.6, h = 100)              putText(vs, 0, "*", x=xs*.5-10, y=ys*.6-100, h = 100)
262    
263          def space(vs):          def space(vs):
264              putText(vs, 0, "Press space to start", x=xs*.5-350, y=ys*.6, h = 100)              putText(vs, 0, "Press space to start", x=xs*.5-350, y=ys*.6-100, h = 100)
265                    
266          doFrame(star, "tmp/star")          doFrame(star, "tmp/star")
267          doFrame(space, "tmp/space")          doFrame(space, "tmp/space")
268    
269          createPurePapers()          #createPurePapers()
270          createTextPapers()          #createTextPapers()
271    
272    
273  gfxapi = GraphicsAPI.getInstance()  gfxapi = GraphicsAPI.getInstance()

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

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