* src/docgen/LPRDoc.py (draw_path,draw_bar): Set proper linewidth.
svn: r4065
This commit is contained in:
parent
352d7d4196
commit
054b618a73
@ -1,3 +1,6 @@
|
||||
2005-02-20 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||
* src/docgen/LPRDoc.py (draw_path,draw_bar): Set proper linewidth.
|
||||
|
||||
2005-02-20 Don Allingham <dallingham@users.sourceforge.net>
|
||||
* src/ReportUtils.py: use today for age calculation if not
|
||||
death date exists.
|
||||
|
@ -990,6 +990,7 @@ class LPRDoc(BaseDoc.BaseDoc):
|
||||
def draw_path(self,style,path):
|
||||
self.brand_new_page = 0
|
||||
stype = self.draw_styles[style]
|
||||
self.gpc.setlinewidth(stype.get_line_width())
|
||||
fill_color = [ val/255.0 for val in stype.get_fill_color()]
|
||||
color = [ val/255.0 for val in stype.get_color()]
|
||||
|
||||
@ -1082,9 +1083,10 @@ class LPRDoc(BaseDoc.BaseDoc):
|
||||
def draw_bar(self, style, x1, y1, x2, y2):
|
||||
self.brand_new_page = 0
|
||||
|
||||
style = self.draw_styles[style]
|
||||
fill_color = [ val/255.0 for val in style.get_fill_color() ]
|
||||
color = [ val/255.0 for val in style.get_color() ]
|
||||
stype = self.draw_styles[style]
|
||||
self.gpc.setlinewidth(stype.get_line_width())
|
||||
fill_color = [ val/255.0 for val in stype.get_fill_color() ]
|
||||
color = [ val/255.0 for val in stype.get_color() ]
|
||||
|
||||
x = self.left_margin + cm2u(x1)
|
||||
y = self.top_margin - cm2u(y1)
|
||||
|
Loading…
Reference in New Issue
Block a user