/[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.9 by jvk, Mon Mar 3 14:28:54 2003 UTC revision 1.10 by jvk, Mon Mar 3 14:50:07 2003 UTC
# Line 98  def createPurePapers(): Line 98  def createPurePapers():
98              seed += 1              seed += 1
99    
100  def textPaperScene(vs, layout, scale):  def textPaperScene(vs, layout, scale):
101      layout.place(vs, 0, 1, 1, -1)      scale *= .5
102        into = vs.affineCS(0, "zoom", 0,
103                           0.5 * (xs - layout.w * scale),
104                           0.5 * (ys - layout.h * scale),
105                           scale, 0, 0, scale)
106        layout.place(vs, into, 1, 1, -1)
107            
108    
109  def createTextPapers():  def createTextPapers():

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