48 lines
1.5 KiB
Plaintext
48 lines
1.5 KiB
Plaintext
[/============================================================================
|
|
Boost.Geometry (aka GGL, Generic Geometry Library)
|
|
|
|
Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands.
|
|
Copyright (c) 2008-2013 Bruno Lalande, Paris, France.
|
|
Copyright (c) 2009-2013 Mateusz Loskot, London, UK.
|
|
|
|
Use, modification and distribution is subject to the Boost Software License,
|
|
Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
|
http://www.boost.org/LICENSE_1_0.txt)
|
|
=============================================================================/]
|
|
|
|
|
|
[/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically]
|
|
[/ Generated from doxy/doxygen_output/xml/group__svg.xml]
|
|
[section:svg svg]
|
|
|
|
'''<indexterm><primary>svg</primary></indexterm>'''
|
|
Manipulator to stream geometries as SVG.
|
|
|
|
[heading Synopsis]
|
|
``template<typename Geometry>
|
|
svg_manipulator<Geometry> svg(Geometry const & geometry, std::string const & style, double size = -1.0)``
|
|
|
|
[heading Parameters]
|
|
|
|
[table
|
|
[[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 ]]
|
|
]
|
|
|
|
|
|
[heading Header]
|
|
Either
|
|
|
|
`#include <boost/geometry.hpp>`
|
|
|
|
|
|
Or
|
|
|
|
`#include <boost/geometry/io/svg/write.hpp>`
|
|
|
|
|
|
[endsect]
|
|
|