Anti-Grain Geometry Tutorial
|
Corresponding to SVG's fill-rule:evenodd
, AGG also has the ability to fill evenodd. Just set the filling_rule to agg::fill_even_odd .
tutorial_path_2.cpp generates an image containing a red star that was filled using even-odd rule.
An equivalent SVG is