You should look at method subdivide in class java.awt.geom.CubicCurve2D. I'm not you can do this directly on a GeneralPath object.
J�r�me ----- Original Message ----- From: "Michele Puccini" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 17, 2005 5:21 PM Subject: [JAVA2D] Split cubic ? > A bit off topic but I know there are some gurus here.. > > I'm creating a visual generalpath editor and I would like to implement the > "split path" feature i.e. clicko on the path and add an editable point on > it. Line_to are working, but... is there someone that can tell me how to > split a cubic curve 2d at a given point into a pair of cubics and keep the > same aspect of the original ? > > Mik > -- > > =========================================================================== > 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". =========================================================================== 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".
