Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext
svg

Manipulator to stream geometries as SVG.

Synopsis

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

Parameters

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

int

size

Optional size (used for SVG points) in SVG pixels. For linestrings, specify linewidth in the SVG style information

Header

Either

#include <boost/geometry.hpp>

Or

#include <boost/geometry/io/svg/write_svg.hpp>


PrevUpHomeNext