Boost logo

Boost-Commit :

From: jakevoytko_at_[hidden]
Date: 2007-07-08 11:50:46


Author: jakevoytko
Date: 2007-07-08 11:50:45 EDT (Sun, 08 Jul 2007)
New Revision: 7388
URL: http://svn.boost.org/trac/boost/changeset/7388

Log:
gcc touchups

Text files modified:
   sandbox/SOC/2007/visualization/boost/svg_plot/detail/svg_tag.hpp | 3 ++-
   sandbox/SOC/2007/visualization/boost/svg_plot/svg_1d_plot.hpp | 18 +++++++++---------
   sandbox/SOC/2007/visualization/boost/svg_plot/svg_test.cpp | 4 ++--
   3 files changed, 13 insertions(+), 12 deletions(-)

Modified: sandbox/SOC/2007/visualization/boost/svg_plot/detail/svg_tag.hpp
==============================================================================
--- sandbox/SOC/2007/visualization/boost/svg_plot/detail/svg_tag.hpp (original)
+++ sandbox/SOC/2007/visualization/boost/svg_plot/detail/svg_tag.hpp 2007-07-08 11:50:45 EDT (Sun, 08 Jul 2007)
@@ -393,4 +393,5 @@
 }
 }
 
-#endif
\ No newline at end of file
+#endif
+

Modified: sandbox/SOC/2007/visualization/boost/svg_plot/svg_1d_plot.hpp
==============================================================================
--- sandbox/SOC/2007/visualization/boost/svg_plot/svg_1d_plot.hpp (original)
+++ sandbox/SOC/2007/visualization/boost/svg_plot/svg_1d_plot.hpp 2007-07-08 11:50:45 EDT (Sun, 08 Jul 2007)
@@ -17,14 +17,14 @@
 
 #define BOOST_PARAMETER_MAX_ARITY 5
 
-#include <boost/parameter/preprocessor.hpp>
-#include <boost/parameter/name.hpp>
-#include <boost/iterator/transform_iterator.hpp>
-#include <boost/bind.hpp>
+#include "boost/parameter/preprocessor.hpp"
+#include "boost/parameter/name.hpp"
+#include "boost/iterator/transform_iterator.hpp"
+#include "boost/bind.hpp"
 
 #include "svg.hpp"
 #include "detail/svg_plot_instruction.hpp"
-
+#include "detail/svg_tag.hpp"
 
 namespace boost {
 namespace svg {
@@ -366,11 +366,11 @@
 
     if(title_on)
     {
- text_element title(image.get_x_size()/2., title_font_size, title);
+ text_element title_elem(image.get_x_size()/2., (double)title_font_size, title);
 
- title.set_alignment(center_align);
- title.set_font_size(title_font_size);
- image.get_g_element(PLOT_TITLE).push_back(new text_element(title));
+ title_elem.set_alignment(center_align);
+ title_elem.set_font_size(title_font_size);
+ image.get_g_element(PLOT_TITLE).push_back(new text_element(title_elem));
     }
 
     x_axis = (plot_window_y2 + plot_window_y1)/2.;

Modified: sandbox/SOC/2007/visualization/boost/svg_plot/svg_test.cpp
==============================================================================
--- sandbox/SOC/2007/visualization/boost/svg_plot/svg_test.cpp (original)
+++ sandbox/SOC/2007/visualization/boost/svg_plot/svg_test.cpp 2007-07-08 11:50:45 EDT (Sun, 08 Jul 2007)
@@ -69,7 +69,7 @@
     plot(my_plot, data1, "sqrt(x)", plot_point_style(circle, black, blue, 12));
     plot(my_plot, data2, "Not sqrt(x)", dConvert());
 
- my_plot.write("D:/test.svg");
+ my_plot.write("./test.svg");
 
     return 0;
-}
\ No newline at end of file
+}


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk