From 574e63086a805ff079162e1924e04a78d6380ac8 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 27 Mar 2010 20:45:23 -0400 Subject: [PATCH] Distinguish between line (boder) and route color --- pyrisk/graphics.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyrisk/graphics.py b/pyrisk/graphics.py index 38d58ca..c407c29 100644 --- a/pyrisk/graphics.py +++ b/pyrisk/graphics.py @@ -344,7 +344,8 @@ class WorldRenderer (object): self.template_lib = TEMPLATE_LIBRARY self.buf = buf self.line_width = line_width - self.line_color = 'black' + self.line_color = 'grey' + self.route_color = 'black' self.dpcm = dpcm def render(self, world): template = self.template_lib.get(world.name) @@ -383,7 +384,7 @@ class WorldRenderer (object): drawn_rts[id(rt)] = rt lines.extend([ '' % ' '.join(['%d,%d' % ((region_pos[id(r)]+rt_start+p) *(1,-1) # svg y value increases down -- 2.26.2