code cleanup

This commit is contained in:
Dane Springmeyer 2014-09-29 19:59:59 -07:00
parent 41b0e0e16b
commit 8752271910
4 changed files with 0 additions and 11 deletions

View file

@ -122,10 +122,6 @@ void agg_renderer<T0,T1>::process(line_pattern_symbolizer const& sym,
clip_box.pad(padding); clip_box.pad(padding);
} }
//using conv_types = boost::mpl::vector<clip_line_tag, transform_tag,
// affine_transform_tag,
// simplify_tag,smooth_tag,
// offset_transform_tag>;
vertex_converter<rasterizer_type, clip_line_tag, transform_tag, vertex_converter<rasterizer_type, clip_line_tag, transform_tag,
affine_transform_tag, affine_transform_tag,
simplify_tag,smooth_tag, simplify_tag,smooth_tag,

View file

@ -116,11 +116,6 @@ void agg_renderer<T0,T1>::process(line_symbolizer const& sym,
using blender_type = agg::comp_op_adaptor_rgba_pre<color_type, order_type>; // comp blender using blender_type = agg::comp_op_adaptor_rgba_pre<color_type, order_type>; // comp blender
using pixfmt_comp_type = agg::pixfmt_custom_blend_rgba<blender_type, agg::rendering_buffer>; using pixfmt_comp_type = agg::pixfmt_custom_blend_rgba<blender_type, agg::rendering_buffer>;
using renderer_base = agg::renderer_base<pixfmt_comp_type>; using renderer_base = agg::renderer_base<pixfmt_comp_type>;
//using conv_types = boost::mpl::vector<clip_line_tag, transform_tag,
// affine_transform_tag,
// simplify_tag, smooth_tag,
// offset_transform_tag,
// dash_tag, stroke_tag>;
pixfmt_comp_type pixf(buf); pixfmt_comp_type pixf(buf);
pixf.comp_op(static_cast<agg::comp_op_e>(get<composite_mode_e>(sym, keys::comp_op, feature, common_.vars_, src_over))); pixf.comp_op(static_cast<agg::comp_op_e>(get<composite_mode_e>(sym, keys::comp_op, feature, common_.vars_, src_over)));

View file

@ -158,7 +158,6 @@ void agg_renderer<T0,T1>::process(polygon_pattern_symbolizer const& sym,
auto transform = get_optional<transform_type>(sym, keys::geometry_transform); auto transform = get_optional<transform_type>(sym, keys::geometry_transform);
if (transform) evaluate_transform(tr, feature, common_.vars_, *transform, common_.scale_factor_); if (transform) evaluate_transform(tr, feature, common_.vars_, *transform, common_.scale_factor_);
//using conv_types = boost::mpl::vector<clip_poly_tag,transform_tag,affine_transform_tag,simplify_tag,smooth_tag>;
vertex_converter<rasterizer, clip_poly_tag,transform_tag,affine_transform_tag,simplify_tag,smooth_tag> vertex_converter<rasterizer, clip_poly_tag,transform_tag,affine_transform_tag,simplify_tag,smooth_tag>
converter(clip_box,*ras_ptr,sym,common_.t_,prj_trans,tr,feature,common_.vars_,common_.scale_factor_); converter(clip_box,*ras_ptr,sym,common_.t_,prj_trans,tr,feature,common_.vars_,common_.scale_factor_);

View file

@ -49,7 +49,6 @@ void agg_renderer<T0,T1>::process(polygon_symbolizer const& sym,
mapnik::feature_impl & feature, mapnik::feature_impl & feature,
proj_transform const& prj_trans) proj_transform const& prj_trans)
{ {
//using conv_types = boost::mpl::vector<clip_poly_tag,transform_tag,affine_transform_tag,simplify_tag,smooth_tag>;
using vertex_converter_type = vertex_converter<rasterizer,clip_poly_tag,transform_tag,affine_transform_tag,simplify_tag,smooth_tag>; using vertex_converter_type = vertex_converter<rasterizer,clip_poly_tag,transform_tag,affine_transform_tag,simplify_tag,smooth_tag>;
ras_ptr->reset(); ras_ptr->reset();