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

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

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

revision 1.1 by jvk, Tue Mar 25 17:20:34 2003 UTC revision 1.2 by jvk, Sun Mar 30 13:01:10 2003 UTC
# Line 56  for o,a in opts: Line 56  for o,a in opts:
56    
57  xs,ys = 1280, 960  xs,ys = 1280, 960
58    
59    # Kluge:
60    if args[0] == "size":
61        xs, ys = tuple(map(int, args[1].split("x")))
62        args = args[2:]
63    
64  xt, yt = xs, ys  xt, yt = xs, ys
65  while xt > 1: xt *= .5  while xt > 1: xt *= .5
66  while yt > 1: yt *= .5  while yt > 1: yt *= .5

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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