[Gambas-user] Drawing accuracy 2

Benoît Minisini gambas at ...1...
Mon Jun 2 03:54:17 CEST 2014


Le 02/06/2014 03:27, Jussi Lahtinen a écrit :
> I found old thread about this same issue... it seems default value of
> Paint.LineJoin has just changed.
> This will fix the problem:
> Paint.LineJoin = Paint.LineJoinRound
>
> Jussi
>

Yes. But you have to call Draw.Begin() explicitely, otherwise it won't 
be taken into account.

Or better: stop using the Draw class. Use the Paint class directly. You 
will get antialiasing too.

-- 
Benoît Minisini




More information about the User mailing list