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

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

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

revision 1.3 by humppake, Mon Dec 9 09:14:58 2002 UTC revision 1.4 by jvk, Mon Dec 9 10:05:13 2002 UTC
# Line 91  def putText(vs, cs1, text, color = None, Line 91  def putText(vs, cs1, text, color = None,
91      t = getText(text)      t = getText(text)
92    
93      cs = vs.coords.ortho(cs1, z, x, y-h, h, h)      cs = vs.coords.ortho(cs1, z, x, y-h, h, h)
94      vs.matcher.addSub(cs1, cs, key or str(text))      vs.matcher.add(cs1, cs, key or str(text))
95    
96      vs.map.put(t, cs)      vs.map.put(t, cs)
97            

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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