Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove unused renderer_scanline_solid

  • Loading branch information...
commit 0a146e0b5c497899c9fdc381eeff04aeb4c563e0 1 parent 290bf73
@artemp artemp authored
Showing with 0 additions and 38 deletions.
  1. +0 −38 include/mapnik/agg_helpers.hpp
View
38 include/mapnik/agg_helpers.hpp
@@ -129,44 +129,6 @@ void set_join_caps_aa(Stroke const& stroke_, Rasterizer & ras)
}
}
-template <typename PixelFormat>
-struct renderer_scanline_solid : private boost::noncopyable
-{
- typedef PixelFormat pixfmt_type;
- typedef typename pixfmt_type::color_type color_type;
- typedef typename pixfmt_type::row_data row_data;
- typedef agg::renderer_base<pixfmt_type> ren_base;
- typedef agg::renderer_scanline_aa_solid<ren_base> renderer;
- typedef agg::scanline_u8 scanline_type;
-
- renderer_scanline_solid()
- : renb_(),
- ren_(renb_)
- {}
-
- template <typename PF>
- void attach(PF & pf)
- {
- renb_.attach(pf);
- }
-
- void color(color_type const& c)
- {
- ren_.color(c);
- }
-
- template <typename Rasterizer>
- void render(Rasterizer & ras)
- {
- agg::render_scanlines(ras, sl_, ren_);
- sl_.reset_spans();
- }
-
- scanline_type sl_;
- ren_base renb_;
- renderer ren_;
-};
-
}
#endif //MAPNIK_AGG_HELPERS_HPP
Please sign in to comment.
Something went wrong with that request. Please try again.