Daniel wrote:
> I understand that, and that is what Sun has done. However, including the
> control points means I can't use the bounding box to determine the size of
> the shape -- and I don't know how to calculate the smallest rectangle.
Try creating a new Area object from the curve and then getting the
bounding box of the Area. Maybe this will give you a more accurate
bounding box.
--
---------------------------------------------------------------
Alexandre Sieira Vilar - http://www.tecgraf.puc-rio.br/~asv
Computer Engineering Student at PUC-Rio - GNU and Linux rock!
3rd kyu Aikikkai Aikidoka (as of November 28, 1998)
---------------------------------------------------------------
"If you cannot defend yourself and fall beneath the enemy's
attack, the enemy is guilty and becomes a murderer. But you
too have sinned, for you've made a murderer. If the enemy
attacks you and you kill the enemy, then you are the
murderer. The result is the same: a life has been
destroyed."
Mitsugi Saotome
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".