On Tue, Jan 13, 2015 at 10:14 AM, Jean-Marc Lasgouttes
<lasgout...@lyx.org> wrote:
> Le 13/01/2015 01:22, Uwe Stöhr a écrit :
>>
>> My change allowed to set the line width to any value you like. As i had
>> to set a default width I chose 0.5 because this is already a LaTeX
>> default width (if I remember correctly).
>> Anyway, the thickness must be a float to allow full control of the line
>> width.
>
>
> You can use whatever you want, but pixels are pixels. At the end the width
> of the line will be an integer. The only reason why QPen::setWidthF exists
> is that one may have transformed the painter space so that, for example the
> unit is millimeter (think printer). This is not the case here obviously.
>

I guess that when you use AntiAliasing, you would be able to actually
draw non-integer widths.

Don't know how Qt handles it though.

Vincent

Reply via email to