Boost.Geometry    Boost C++ Libraries
Classes | Functions
svg: Stream SVG (Scalable Vector Graphics)

Classes

class  boost::geometry::svg_manipulator< G >
 Generic geometry template manipulator class, takes corresponding output class from traits class. More...
class  boost::geometry::svg_mapper< Point, SameScale >
 Helper class to create SVG maps. More...

Functions

template<typename Geometry >
svg_manipulator< Geometry > boost::geometry::svg (Geometry const &geometry, std::string const &style, int size=-1)
 Manipulator to stream geometries as SVG.

Function Documentation

template<typename Geometry >
svg_manipulator<Geometry> boost::geometry::svg ( Geometry const &  geometry,
std::string const &  style,
int  size = -1 
)

Manipulator to stream geometries as SVG.

Template Parameters:
GeometryAny type fulfilling a Geometry Concept
Parameters:
geometryA model of the specified concept
styleString containing verbatim SVG style information
sizeOptional size (used for SVG points) in SVG pixels. For linestrings, specify linewidth in the SVG style information
Examples:
06_b_transformation_example.cpp.

April 2, 2011

Copyright © 2007-2011 Barend Gehrels, Amsterdam, the Netherlands
Copyright © 2008-2011 Bruno Lalande, Paris, France
Copyright © 2009-2010 Mateusz Loskot, London, UK
Documentation is generated by Doxygen