I have an ellipse whose center is $(c_{x},c_{y})$ and whose orientation with respect to the positive x-axis is $\theta$. Its semi-major and semi-minor axes are $a$ and $b$.
My problem is that, how do I find the coordinates of the four corners of the best bounding box to the ellipse, which is something like this.

It is rather easy if $c_x=c_y=\theta=0$.(The coordinates are $\frac{(\pm a,\pm b)}{2}$) Now, from that result, maybe you could try to rotate by $\theta$ then translate by $(c_x,c_y)$ the ellipse and its bounding box in order to fit every situation?