From: Hǎiliàng W. <hwa...@gm...> - 2013-01-15 04:48:03
|
Hello, I'm plotting a small PDF graph (128x96) with cairopdf driver, and the line width looks too thick with line width 1. To solve the problem, I modify the code within the cairo driver (cairo.c) to set the the line width to 0.2 directly, and the result looks pretty good. I have read the thread below so I know there is no plan to change function plwid's parameter from int to float: http://www.mail-archive.com/plp...@li.../msg00429.html I'm wondering if it is good idea to add another function to set the line width with a ratio, e.g. void plwidr(double)? So that the real line width becomes a product: linewidth*ratio. By default the ratio is 1.0 so it will not affect the current user, but if the user want finer line width, just set linewidth=1 and the ratio any floating point value they want. Hailiang |