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