What you should probably do is set the size of the graphic to the size
of your "viewing box", and then set its dontResize property to true.
This will disable the automatic resizing behavior altogether.
As for your observation, various amounts of "padding" area *are*
included in the calculation for the automatic resizing. The exact
amount depends on the line size, whether there are marker points, the
join style, the line-end style, and whether arrow heads are turned on.
The size of the padding will be larger than required in most cases,
since the algorithm just computes the worst-case requirements rather
than doing the complicated math required to compute the actual
requirements (which depend on the angles of the individual line
segments).
> -- Allen Morgan
> CIBA
> RTP, NC
> morgana@abru.cg.com
-- *************************************************************** Scott Raney raney@metacard.com http://www.metacard.com Tcl and ksh: syntactic gymnastics MetaCard: it does what you think