1 |
# Copyright (c) 2001 by Intevation GmbH |
# Copyright (c) 2001, 2002 by Intevation GmbH |
2 |
# Authors: |
# Authors: |
3 |
# Bernhard Herzog <[email protected]> |
# Bernhard Herzog <[email protected]> |
4 |
# |
# |
72 |
fill.blue * 255) |
fill.blue * 255) |
73 |
brush = wxBrush(color, wxSOLID) |
brush = wxBrush(color, wxSOLID) |
74 |
stroke = layer.stroke |
stroke = layer.stroke |
75 |
|
stroke_width = layer.stroke_width |
76 |
if stroke is None: |
if stroke is None: |
77 |
pen = wxTRANSPARENT_PEN |
pen = wxTRANSPARENT_PEN |
78 |
else: |
else: |
79 |
color = wxColour(stroke.red * 255, |
color = wxColour(stroke.red * 255, |
80 |
stroke.green * 255, |
stroke.green * 255, |
81 |
stroke.blue * 255) |
stroke.blue * 255) |
82 |
pen = wxPen(color, 1, wxSOLID) |
pen = wxPen(color, stroke_width, wxSOLID) |
83 |
|
|
84 |
map_proj = self.map.projection |
map_proj = self.map.projection |
85 |
layer_proj = layer.projection |
layer_proj = layer.projection |