• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[/============================================================================
2  Boost.Geometry (aka GGL, Generic Geometry Library)
3
4  Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands.
5  Copyright (c) 2008-2013 Bruno Lalande, Paris, France.
6  Copyright (c) 2009-2013 Mateusz Loskot, London, UK.
7
8  Use, modification and distribution is subject to the Boost Software License,
9  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
10  http://www.boost.org/LICENSE_1_0.txt)
11=============================================================================/]
12
13
14[/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically]
15[/ Generated from doxy/doxygen_output/xml/group__svg.xml]
16[section:svg svg]
17
18'''<indexterm><primary>svg</primary></indexterm>'''
19Manipulator to stream geometries as SVG.
20
21[heading Synopsis]
22``template<typename Geometry>
23svg_manipulator<Geometry> svg(Geometry const & geometry, std::string const & style, double size = -1.0)``
24
25[heading Parameters]
26
27[table
28[[Type] [Concept] [Name] [Description] ]
29[[Geometry const &] [Any type fulfilling a Geometry Concept ] [geometry] [A model of the specified concept ]]
30[[std::string const &] [] [style] [String containing verbatim SVG style information ]]
31[[double] [] [size] [Optional size (used for SVG points) in SVG pixels. For linestrings, specify linewidth in the SVG style information ]]
32]
33
34
35[heading Header]
36Either
37
38`#include <boost/geometry.hpp>`
39
40
41Or
42
43`#include <boost/geometry/io/svg/write.hpp>`
44
45
46[endsect]
47
48