expose various image symbols for windows - refs mapnik/node-mapnik#260

This commit is contained in:
Dane Springmeyer 2014-05-22 19:18:43 -07:00
parent ed3afe5b86
commit bb67ae0fb7
3 changed files with 7 additions and 4 deletions

View file

@ -54,11 +54,11 @@ enum scaling_method_e
SCALING_BILINEAR8
};
boost::optional<scaling_method_e> scaling_method_from_string(std::string const& name);
boost::optional<std::string> scaling_method_to_string(scaling_method_e scaling_method);
MAPNIK_DECL boost::optional<scaling_method_e> scaling_method_from_string(std::string const& name);
MAPNIK_DECL boost::optional<std::string> scaling_method_to_string(scaling_method_e scaling_method);
template <typename Image>
void scale_image_agg(Image & target,
MAPNIK_DECL void scale_image_agg(Image & target,
Image const& source,
scaling_method_e scaling_method,
double image_ratio_x,

View file

@ -263,6 +263,8 @@ template MAPNIK_DECL void save_to_file<image_view<image_data_32> > (image_view<i
template MAPNIK_DECL void save_to_file<image_view<image_data_32> > (image_view<image_data_32> const&,
std::string const&);
template MAPNIK_DECL std::string save_to_string<image_data_32>(image_data_32 const&,
std::string const&);
template MAPNIK_DECL std::string save_to_string<image_data_32>(image_data_32 const&,
std::string const&,

View file

@ -25,13 +25,14 @@
// mapnik
#include <mapnik/image_scaling.hpp>
#include <mapnik/config.hpp>
namespace mapnik {
class raster;
class proj_transform;
void reproject_and_scale_raster(raster & target,
MAPNIK_DECL void reproject_and_scale_raster(raster & target,
raster const& source,
proj_transform const& prj_trans,
double offset_x, double offset_y,