Anti-Grain Geometry Tutorial
|
In order for agg::path_cmd_curve3, agg::path_cmd_curve4 etc to take effect, it is necessary to add an extra step that compute the actual curve path using agg::conv_curve. Then use this curve path to generate the stroke path.
There are a number of advantages with this approach.
tutorial_linedrawing_2.cpp generates an image containing a caret and a dome.
An equivalent SVG is