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

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

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

revision 1.9 by jvk, Mon Mar 31 10:52:12 2003 UTC revision 1.10 by jvk, Mon Mar 31 11:27:54 2003 UTC
# Line 81  def textPaperScene(vs, layout, layoutBg, Line 81  def textPaperScene(vs, layout, layoutBg,
81                  if dist > sz: continue                  if dist > sz: continue
82    
83                  # f = .15*(1 - dist / sz)                  # f = .15*(1 - dist / sz)
84                  f = .01                  f = .02
85    
86                  vs.put(getDListNocoords("""                  vs.put(getDListNocoords("""
87                      Enable BLEND                      Enable BLEND
# Line 133  def doFrame(s,width,height): Line 133  def doFrame(s,width,height):
133      saveanim.saveframe("/tmp/bleaching%i.png" % frame, w,      saveanim.saveframe("/tmp/bleaching%i.png" % frame, w,
134                         w=int(width+.5),                         w=int(width+.5),
135                         h=int(height+.5))                         h=int(height+.5))
136        saveanim.saveframe("/tmp/bleaching%iz.png" % frame, w,
137                           x=int(width*.95+.5),
138                           w=int(width*.05+.5),
139                           h=int(height*.25+.5))
140      frame += 1      frame += 1
141      paperOnce = tmp      paperOnce = tmp
142    
# Line 155  def makeScreenshots(scene, key): Line 159  def makeScreenshots(scene, key):
159      pap_x,pap_y, = -100, -400      pap_x,pap_y, = -100, -400
160      xs,ys        = 270, 70      xs,ys        = 270, 70
161    
162      zoom0,zoom1,zoom2 = 1.0, 1.7, 2.89      zoom0,zoom1,zoom2 = 1.0, 1.5, 2.25
163            
164      currentScene.text = 1      currentScene.text = 1
165      currentScene.halo = 0      currentScene.halo = 0

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

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