/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/renderer.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/renderer.py

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

revision 2453 by joey, Sun Dec 5 15:05:02 2004 UTC revision 2454 by bh, Mon Dec 13 18:26:11 2004 UTC
# Line 268  class ExportRenderer(ScreenRenderer): Line 268  class ExportRenderer(ScreenRenderer):
268          self.shifty = (mmaxy - mminy)*0.5 - (ury - lly)*0.5          self.shifty = (mmaxy - mminy)*0.5 - (ury - lly)*0.5
269    
270          self.offset = (offx+self.shiftx, offy+self.shifty)          self.offset = (offx+self.shiftx, offy+self.shifty)
271            self.region = (llx + self.shiftx, lly + self.shifty, urx, ury)
272    
273          # Draw the map          # Draw the map
274          self.dc.BeginDrawing()          self.dc.BeginDrawing()

Legend:
Removed from v.2453  
changed lines
  Added in v.2454

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26