removed unused headers

This commit is contained in:
Artem Pavlenko 2005-12-16 16:08:41 +00:00
parent 3814396eea
commit ec9b301364
2 changed files with 8 additions and 9 deletions

View file

@ -33,6 +33,7 @@
#include "agg_path_storage.h" #include "agg_path_storage.h"
#include "agg_span_allocator.h" #include "agg_span_allocator.h"
#include "agg_span_pattern_rgba.h" #include "agg_span_pattern_rgba.h"
#include "agg_image_accessors.h"
namespace mapnik namespace mapnik
{ {
@ -101,6 +102,7 @@ namespace mapnik
void render(geometry_type& geom,Image32& image) const void render(geometry_type& geom,Image32& image) const
{ {
/*
typedef agg::renderer_base<agg::pixfmt_rgba32> ren_base; typedef agg::renderer_base<agg::pixfmt_rgba32> ren_base;
agg::row_ptr_cache<agg::int8u> buf(image.raw_data(),image.width(),image.height(), agg::row_ptr_cache<agg::int8u> buf(image.raw_data(),image.width(),image.height(),
@ -114,6 +116,10 @@ namespace mapnik
typedef agg::wrap_mode_repeat wrap_x_type; typedef agg::wrap_mode_repeat wrap_x_type;
typedef agg::wrap_mode_repeat wrap_y_type; typedef agg::wrap_mode_repeat wrap_y_type;
typedef agg::image_accessor_wrap<agg::pixfmt_rgba32,
wrap_x_type,
wrap_y_type> img_source_type;
typedef agg::span_pattern_rgba<agg::rgba8, typedef agg::span_pattern_rgba<agg::rgba8,
agg::order_rgba, agg::order_rgba,
wrap_x_type, wrap_x_type,
@ -136,7 +142,7 @@ namespace mapnik
ras.clip_box(0,0,image.width(),image.height()); ras.clip_box(0,0,image.width(),image.height());
ras.add_path(geom); ras.add_path(geom);
agg::render_scanlines(ras, sl, rp); agg::render_scanlines(ras, sl, rp);
*/
} }
private: private:

View file

@ -18,18 +18,11 @@
//$Id: render.cpp 44 2005-04-22 18:53:54Z pavlenko $ //$Id: render.cpp 44 2005-04-22 18:53:54Z pavlenko $
#include "render.hpp" #include "render.hpp"
#include "line_aa.hpp"
#include "scanline.hpp"
#include "scanline_aa.hpp"
#include "text.hpp"
#include "image_util.hpp" #include "image_util.hpp"
#include "utils.hpp" #include "utils.hpp"
#include "style_cache.hpp" #include "style_cache.hpp"
#include "image_reader.hpp" #include "symbolizer.hpp"
#include "polygon_symbolizer.hpp"
#include "line_symbolizer.hpp"
#include "query.hpp" #include "query.hpp"
#include "feature_layer_desc.hpp" #include "feature_layer_desc.hpp"
#include "attribute_collector.hpp" #include "attribute_collector.hpp"