Rotating ellipses

Hi,
It’s my first post here.

I want to make a dynamically (using Drawing API) drawn ellipse rotate around its axis. It involves a lot of trigonometry which I’m not very good in .
Can someone help ?

Thanks