Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Probably the fastest way to calculate it is the Bresenham circle algorithm. But if there are a lot of roundrects with the same few small corner size (likely in a window system), a table for that size might be better.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: