Bezier Cubic & quadratic curve Algorithm ?
I have tried many different sites and algorithms to draw a cubic or quadratic curve in a bufferedimage. all of which have worked but when overlaped with java2d path output of the same curve, some pixel hance points are of by a pixel or two. But the general shape of the curve is true.
So i was wondering if anyone knows how java calculates these curves, in mathimatical form or algorithmic form.
Any help will be valuable
Thanks
[454 byte] By [
gekazodea] at [2007-10-2 13:32:56]

There are many tutorials out there that describe how to generate bezier curves: http://www.google.ca/search?hl=en&q=bezier+curve+tutorial&meta=For a complete curve API, not just Bezier curves, check out: http://sourceforge.net/projects/curves/
> For a complete curve API, not just Bezier curves,> check out:> http://sourceforge.net/projects/curves/[url= http://sourceforge.net/projects/curves/]https://sourceforge.net/projects/curves/[/url]; )
> There's nothing sensitive being transferred, so why use https?I don't know, when I checked the normal http-page, I got a 501 error. Then I tried the https and that one worked.