By stroke of the cubic bezier curve I mean rendering a curve 'A' with a specific line width 'w'.
How can I derive other cubic bezier curves that describe the outline of the stroke of bezier 'A' ?
By stroke of the cubic bezier curve I mean rendering a curve 'A' with a specific line width 'w'.
How can I derive other cubic bezier curves that describe the outline of the stroke of bezier 'A' ?
Ohhh. You want to get the offset-curves of an bezier curve.
Bad news. this is hard because these curves can't be simply derived numerical. They contain all kinds of intersections, loops and other nasty stuff.
There are some approximations though. The best approach I've read so far is from a paper by Thomas F. Hain (Fast, Precise Flattening of Cubic Bézier Path and Offset Curves). It's on his homepage.
http://www.cis.usouthal.edu/~hain/old%20hainweb/BezierFlattening.pdf
He does flattening, so his paper is mostly about decomposes the offset curves into line-segments and circular arc-segments, but you can merge them back to beziers later.
For better understanding you may want to read his other bezier related papers as well.
Unfortunately, I don't have enough reputation to comment on the previous answer, however the paper in question, as well as a few others related to Bezier curves, can be found here:
http://www.cis.usouthal.edu/~hain/general/Publications/Bezier/
Qt's QPainterPathStroker (it's open source and fairly readable code) uses the algorithm described in the aforementioned paper to do what you want.
The above link is not working any more. The paper can be found at at
http://www.cis.usouthal.edu/~hain/general/Publications/Bezier/BezierFlattening.pdf