Home | Libraries | People | FAQ | More |
Manipulator to stream geometries as SVG.
template<typename Geometry> svg_manipulator<Geometry> svg(Geometry const & geometry, std::string const & style, double size = -1.0)
Type |
Concept |
Name |
Description |
---|---|---|---|
Geometry const & |
Any type fulfilling a Geometry Concept |
geometry |
A model of the specified concept |
std::string const & |
style |
String containing verbatim SVG style information |
|
double |
size |
Optional size (used for SVG points) in SVG pixels. For linestrings, specify linewidth in the SVG style information |
Either
#include <boost/geometry.hpp>
Or
#include <boost/geometry/io/svg/write.hpp>