> > Hello Sigurd, > > Sorry for the delay. That's okay, and thank you. > SL> Wouldn't it be more useful if getBBox returned the bounding box > SL> BEFORE any transform, since you can always apply that afterwards > SL> to the BBox, but you can't unapply it. (or am I missing > SL> something?) > > You can generally apply the inverse of the transform. My understanding is that what will no longer give the tightest bounding box. Say you have an ellipse with a transformation. A bbox(1) before transformation gives the tightest bbox, you can then transform each point of that bbox and you get a new bbox after transformation. However: If you only get a bbox(2) after transformation, and you apply inverse transform to each point of that bbox, then you get a new bbox, but that bbox will not be the same as bbox(1) Since you don't keep the transformed points of the bbox around, you keep the "bounding box" of the transformed points. (Okay, I'm not sure you understand what I mean :) -- Sigurd LerstadReceived on Thursday, 6 February 2003 18:36:39 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 4 September 2006 18:11:21 GMT