This patch (committed) changes the calculation of the transform for an
XYShapeAnnotation to use the shapes bounding rectangle - this seems to work better
than the current (0, 0) and (1, 1) sample points, especially for shapes with large
2006-10-24 David Gilbert <david.gilbert@...>
(draw): Calculate transform on shape bounds.