Currently the radio button implements it's own algorithm for drawing circles. To be able to reuse the code there should be a standalone class. Possibly optimize the code further: E.g. http://slabode.exofire.net/circle_draw.shtml