Re: [fltk.coredev] Re: SDL

GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
Previous Message ]New Message | Reply ]Next Message ]

Re: Re: SDL LM 05:23 Aug 18 top right image
On Tuesday, August 17, 2021 at 10:23:14 AM UTC-4 <> 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
To view this discussion on the web visit
Direct Link to Message ]
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]

Comments are owned by the poster. All other content is copyright 1998-2021 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to ''.