/[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 6 by bh, Tue Aug 28 15:41:52 2001 UTC revision 76 by bh, Mon Feb 4 19:23:30 2002 UTC
# Line 1  Line 1 
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  #  #
# Line 72  class MapRenderer: Line 72  class MapRenderer:
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

Legend:
Removed from v.6  
changed lines
  Added in v.76

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26