/[gzz]/gzz/gzz/view/buoy/pagespanNodes.py
ViewVC logotype

Diff of /gzz/gzz/view/buoy/pagespanNodes.py

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

revision 1.14 by tjl, Thu Feb 6 09:19:40 2003 UTC revision 1.15 by tjl, Thu Feb 6 11:53:14 2003 UTC
# Line 68  class PageSpanMainNode(BuoyViewMainNode) Line 68  class PageSpanMainNode(BuoyViewMainNode)
68          self.x = xywh[0] + .5 * xywh[2]          self.x = xywh[0] + .5 * xywh[2]
69          self.y = xywh[1] + .5 * xywh[3]          self.y = xywh[1] + .5 * xywh[3]
70      def renderMain(self, vs, into):      def renderMain(self, vs, into):
71          self.layout.place(vs, into, 1, 200)  
72            # XXX This is not right: the distortion
73            # should be done here.
74            unit = vs.unitSqCS(into, "UNIT")
75            scaled = vs.scaleCS(unit, "SCALED",
76                    1.0 / self.layout.w, 1.0 / self.layout.h)
77            self.layout.place(vs, scaled, 1, 200)
78    
79          matches = (self.nodetype.scrollBlockLinker          matches = (self.nodetype.scrollBlockLinker
80                              .enfiladeOverlap.getMatches(self.enf))                              .enfiladeOverlap.getMatches(self.enf))

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

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