diff --git a/src/agg/process_markers_symbolizer.cpp b/src/agg/process_markers_symbolizer.cpp index 451323f5b..ff0d46b18 100644 --- a/src/agg/process_markers_symbolizer.cpp +++ b/src/agg/process_markers_symbolizer.cpp @@ -21,11 +21,12 @@ *****************************************************************************/ // mapnik -#include #include -#include #include #include + +#include +#include #include #include #include @@ -52,6 +53,7 @@ #include "agg_span_allocator.h" #include "agg_image_accessors.h" #include "agg_span_image_filter_rgba.h" + // boost #include diff --git a/src/grid/process_markers_symbolizer.cpp b/src/grid/process_markers_symbolizer.cpp index e80d185b6..9242d2027 100644 --- a/src/grid/process_markers_symbolizer.cpp +++ b/src/grid/process_markers_symbolizer.cpp @@ -20,22 +20,55 @@ * *****************************************************************************/ +/* + +porting notes --> + + - grid includes + - detector + - no gamma + - mapnik::pixfmt_gray32 + - agg::scanline_bin sl + - grid_rendering_buffer + - agg::renderer_scanline_bin_solid + - clamping: + // - clamp sizes to > 4 pixels of interactivity + if (tr.scale() < 0.5) + { + agg::trans_affine tr2; + tr2 *= agg::trans_affine_scaling(0.5); + tr = tr2; + } + tr *= agg::trans_affine_scaling(scale_factor_*(1.0/pixmap_.get_resolution())); + - svg_renderer.render_id + - only encode feature if placements are found: + if (placed) + { + pixmap_.add_feature(feature); + } + +*/ + // mapnik -#include #include #include #include #include #include + +#include +#include +#include +#include #include #include #include -#include -#include -#include #include +#include #include +#include #include +#include // agg #include "agg_basics.h" @@ -46,6 +79,11 @@ #include "agg_path_storage.h" #include "agg_conv_clip_polyline.h" #include "agg_conv_transform.h" +#include "agg_image_filters.h" +#include "agg_trans_bilinear.h" +#include "agg_span_allocator.h" +#include "agg_image_accessors.h" +#include "agg_span_image_filter_rgba.h" // boost #include