Skip to content

Commit

Permalink
Set line width in generated png files to 10 pixels. Lines with width …
Browse files Browse the repository at this point in the history
…of one pixel is hard to see on screen or printouts.
  • Loading branch information
krisjans committed May 9, 2012
1 parent ba87172 commit b84e3f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stf.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ def handle_point(self, x, y, force, time):
print float(bgGreen)
print float(bgBlue)

ctx.set_line_width(10)
ctx.set_source_rgb(float(bgRed), float(bgGreen), float(bgBlue))
ctx.paint()
ctx.set_source_rgb(float(fgRed), float(fgGreen), float(fgBlue))
Expand Down

0 comments on commit b84e3f4

Please sign in to comment.