How can i draw circle in c++ using SDL?

how can i do the following ?–
View this message in context: http://sdl.5483.n7.nabble.com/how-can-i-draw-circle-in-c-using-SDL-tp43034.html
Sent from the SDL mailing list archive at Nabble.com.

Hi,

You can draw circles by using trigonometry maths. Graphing paper helps with that sort of thing :slight_smile: Take a look at SDL2_gfx if you don’t want to implement such an algorithm yourself.

Cheers,
Jeffrey Carpenter <@Jeffrey_Carpenter>

-------------- next part --------------
A non-text attachment was scrubbed…
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1572 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20141129/2115336e/attachment-0001.bin