Page 1 of 1

circle SDL

Posted: Wednesday 15th February 2023 11:49am
by DuffMan
How can I draw a circle using the SDL component ?

circle or ellipse not mentioned in help !

Re: circle SDL

Posted: Wednesday 15th February 2023 9:13pm
by BruceSteers
DuffMan wrote: Wednesday 15th February 2023 11:49am How can I draw a circle using the SDL component ?

circle or ellipse not mentioned in help !
because it does not exist in the available methods...
https://gambaswiki.org/wiki/comp/gb.sdl2/draw

gb.sdl2 is a very simple interface that does not support much.
https://gambaswiki.org/wiki/comp/gb.sdl2

Re: circle SDL

Posted: Friday 17th February 2023 10:10am
by DuffMan
Thanks for that !

Re: circle SDL

Posted: Friday 17th February 2023 12:17pm
by BruceSteers
That's what I gathered from the wiki

I could be wrong.

I'll investigate a bit more.

I assume regular paint functions do not work

Re: circle SDL

Posted: Friday 17th February 2023 4:46pm
by BruceSteers
Annoyingly you can add GB.opengl component, then image has many more options but none of them work.