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.
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.