[Gambas-user] Paint.arc does not proceed counter-clockwise during Length radians

Benoît Minisini gambas at ...1...
Sat Feb 25 15:06:49 CET 2012


Le 23/02/2012 03:56, Ru Vuott a écrit :
> Hello,
>
> in Gambas 3 by using positive values in Length parameter of "Paint.Arc" I noticed that it does not proceed counter-clockwise, but clockwise !
> I obtain counter-clockwise, if I use "negative" values.
>
> ???
>
> Vuott
>

I may be wrong, but it follows the mathematical standard, i.e. positive 
angles process counter-clockwise with X axis going from left to right 
and Y axis going from bottom to top.

As the Y axis goes from top to bottom by default with computer, positive 
angles proceed clockwise!

Regards,

-- 
Benoît Minisini




More information about the User mailing list