circle SDL

New to Gambas? Post your questions here. No question is too silly or too simple.
Post Reply
DuffMan
Posts: 3
Joined: Monday 11th November 2019 1:36pm

circle SDL

Post by DuffMan »

How can I draw a circle using the SDL component ?

circle or ellipse not mentioned in help !
User avatar
BruceSteers
Posts: 1565
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: circle SDL

Post 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
If at first you don't succeed , try doing something differently.
BruceS
DuffMan
Posts: 3
Joined: Monday 11th November 2019 1:36pm

Re: circle SDL

Post by DuffMan »

Thanks for that !
User avatar
BruceSteers
Posts: 1565
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: circle SDL

Post 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
If at first you don't succeed , try doing something differently.
BruceS
User avatar
BruceSteers
Posts: 1565
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: circle SDL

Post by BruceSteers »

Annoyingly you can add GB.opengl component, then image has many more options but none of them work.
If at first you don't succeed , try doing something differently.
BruceS
Post Reply