Anti-Grain Geometry Tutorial
|
Ellipses are commonly used shapes. Just include the following header.
Then you can specify a ellipse using x, y, rx, and ry. There are additional parameters which you can customize.
Note that it is not necessary to use agg::conv_curve to convert path commands.
tutorial_shape_1.cpp draws a very simple ellipse.
An equivalent SVG is