Ticket #11966: bugreport.cpp
| File bugreport.cpp, 437 bytes (added by , 7 years ago) |
|---|
| Line | |
|---|---|
| 1 | #include <boost/geometry.hpp> |
| 2 | #include <boost/geometry/geometries/box.hpp> |
| 3 | #include <boost/geometry/geometries/point_xy.hpp> |
| 4 | |
| 5 | #include <iostream> |
| 6 | |
| 7 | int main() |
| 8 | { |
| 9 | typedef boost::geometry::model::d2::point_xy<double> point_type; |
| 10 | |
| 11 | boost::geometry::model::box<point_type> box(point_type(1.0, 1.0), point_type(5.0, 5.0)); |
| 12 | std::cout << boost::geometry::svg(box, "fill-opacity:0.5;fill:rgb(153,204,0)") << std::endl; |
| 13 | |
| 14 | return 0; |
| 15 | } |
