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 |
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(): |