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

how can i do the following ?–
View this message in context:
Sent from the SDL mailing list archive at


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.

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