From cebad2e20c1606bb6598e304c9d18f537a5cd0ee Mon Sep 17 00:00:00 2001 From: Barend Gehrels Date: Fri, 18 Jul 2014 22:49:48 +0200 Subject: [PATCH] [buffer][doc] small changes in outputted text/comments --- doc/src/examples/examples_utils/create_svg_buffer.hpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/doc/src/examples/examples_utils/create_svg_buffer.hpp b/doc/src/examples/examples_utils/create_svg_buffer.hpp index 09ed307c1..b69d281bb 100644 --- a/doc/src/examples/examples_utils/create_svg_buffer.hpp +++ b/doc/src/examples/examples_utils/create_svg_buffer.hpp @@ -6,13 +6,12 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -// Code to create SVG for examples +// Code to create SVG for buffer examples #ifndef CREATE_SVG_BUFFER_HPP #define CREATE_SVG_BUFFER_HPP #include -#include #if defined(HAVE_SVG) # include @@ -22,8 +21,6 @@ template void create_svg_buffer(std::string const& filename, Geometry1 const& original, Geometry2 const& buffer) { #if defined(HAVE_SVG) - std::cout << std::endl << "[$img/algorithms/" << boost::replace_all_copy(filename, ".svg", ".png") << "]" << std::endl << std::endl; - typedef typename boost::geometry::point_type::type point_type; std::ofstream svg(filename.c_str()); @@ -31,7 +28,7 @@ void create_svg_buffer(std::string const& filename, Geometry1 const& original, G mapper.add(original); mapper.add(buffer); - // Draw buffer below + // Draw buffer at bottom mapper.map(buffer, "fill-opacity:0.6;fill:rgb(255,255,64);stroke:rgb(255,128,0);stroke-width:5;stroke-dasharray:1,7;stroke-linecap:round"); // Draw original on top @@ -45,7 +42,7 @@ void create_svg_buffer(std::string const& filename, Geometry1 const& original, G } // NOTE: convert manually from svg to png using Inkscape ctrl-shift-E -// and copy png to html/img/algorithms/ +// and copy png to html/img/... #endif // CREATE_SVG_BUFFER_HPP