|
|
On Tuesday, August 17, 2021 at 10:23:14 AM UTC-4 <spi...@gmail.com> wrote:
Generally
fltk just tries to draw the nicest shape provided by the toolkit. If
SDL cannot draw ellipses then I would use sqrt(width*height)/2 as the
radius, and make sure the center is in the center of the rectangle, thus
getting a circle of the same area.
Thanks
for the tips, especially the part about the center being in the center
of the rectangle. I just assumed the arc edges were on the rectangle
and that's it.
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/068b7de1-8be3-4003-aeee-399110e8ebbcn%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |