/[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 1591 by bh, Fri Aug 15 14:00:53 2003 UTC revision 1750 by bh, Wed Sep 24 15:46:27 2003 UTC
# Line 122  class ScreenRenderer(MapRenderer): Line 122  class ScreenRenderer(MapRenderer):
122                      data = shape.Points()                      data = shape.Points()
123                  func(param, data, *args)                  func(param, data, *args)
124    
125      def layer_ids(self, layer):      def layer_shapes(self, layer):
126          """Return the shapeids covered by the region that has to be redrawn          """Return the shapeids covered by the region that has to be redrawn
127    
128          Call the layer's ShapesInRegion method to determine the ids so          Call the layer's ShapesInRegion method to determine the ids so
# Line 269  class ExportRenderer(ScreenRenderer): Line 269  class ExportRenderer(ScreenRenderer):
269          # Render the legend          # Render the legend
270          dc.SetTextForeground(wxBLACK)          dc.SetTextForeground(wxBLACK)
271          if map.HasLayers():          if map.HasLayers():
272              layers = map.Layers()              layers = map.Layers()[:]
273              layers.reverse()              layers.reverse()
274              for l in layers:              for l in layers:
275                  if l.Visible():                  if l.Visible():

Legend:
Removed from v.1591  
changed lines
  Added in v.1750

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26