#include #include #include #include int main() { typedef boost::geometry::model::d2::point_xy point_type; boost::geometry::model::box box(point_type(1.0, 1.0), point_type(5.0, 5.0)); std::cout << boost::geometry::svg(box, "fill-opacity:0.5;fill:rgb(153,204,0)") << std::endl; return 0; }