I tried to analyse the deviation, and it seems to repeat every 45 degrees. And it describes a progress that resembles a Cosine function.
So I tried to set up a cos-function that adds a 3:1000 modifier (maxed at 22.5 deg and minimum at 0 and 45 deg).
It improves, but to get the planets in line I have to repeat the concept several times. Add a 3:10,000 modifer at 0-22.5 deg, add a 3:100,000 modifier at 0-11.25 deg and so on. After 6 of these modifications, the planet's modified radius is close enough to the DrawCircle that you wouldn't notice the difference.
Well at least from 0-22.5 deg. I would need another set of 6 cosine functions for the 22.5-45 deg interval. :BangHead:
--
I have some to the conclusion that it is better to cheat.
When I zoom so close to the orbit that the circle just looks like a straight line, I am going to draw it as a straight line instead of DrawCircle. I know which point it has to go through and the angle it should have, so it is easy to make a line from screen edge to screen edge. Guaranteed precise at all zoom levels, and probably it will be faster as well.