Software Engineer and DWF Technical Evangelist, Ben Cochran points out:
Although the DWF specification has a Bezier opcode for future use, it is not part of the current DWF Toolkit implementation. As such, at this time the Autodesk DWF Viewer and Autodesk Design Review do not support Bezier curves. DWF Toolkit developers will need to tessellate the curves and draw polylines using the formula below:
B(t) = (1 - t)3P0 + 3t(1 - t)2P1 + 3t2(1 - t)P2 + t3P3
The parameter t ranges from 0.0 to 1.0 and P0, P1, P2, and P3 are the control points.
Lead Software Engineer, Eric Haines, provided some additional information. Eric noted that some Bezier demos can be found at:
http://www.math.ucla.edu/~baker/java/hoefer/Bezier.htm
and
http://www.gris.informatik.tu-darmstadt.de/~lindner/BezierDemo_1.html.
An explanation regarding the math involved can be found at:
But Eric did not stop there. He created a perl script that creates a sample DWF file from control points. Eric's perl script is available in a zip file with the resulting DWF files:
The DWF file the perl script creates:
Eric then culled the DWF file into separate files for illustration purposes:
So although the Bezier primitive has yet to be implemented in the DWF Toolkit, Bezier curves can easily be stored in DWF files.