[PD] bbox for an ellipse
jancsika at yahoo.com
Sat Jan 11 08:25:25 CET 2014
Anyone know a straightforward way to find the axis-aligned bounding box for an ellipse given:
* center x
* center y
* radius x
* radius y
* arbitrary affine transformation applied using an svg-style 3x3 matrix
Right now I'm just doing the trivial calculation for the bbox of the untransformed ellipse, then multiplying the matrix times those coordinates. That gives me a box that includes the ellipse, but I'd like to get the tightest fitting one.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pd-list