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]
# 1
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/
rkippena at 2007-7-13 11:19:41 > top of Java-index,Other Topics,Algorithms...
# 2
> 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]; )
prometheuzza at 2007-7-13 11:19:41 > top of Java-index,Other Topics,Algorithms...
# 3
There's nothing sensitive being transferred, so why use https?
rkippena at 2007-7-13 11:19:41 > top of Java-index,Other Topics,Algorithms...
# 4
> 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.
prometheuzza at 2007-7-13 11:19:41 > top of Java-index,Other Topics,Algorithms...
# 5
thank you for your help on this metter, if you need any help be sure to ask. Thanks again
gekazodea at 2007-7-13 11:19:41 > top of Java-index,Other Topics,Algorithms...