+ remove duplicate typedef's

This commit is contained in:
Artem Pavlenko 2012-03-21 10:52:03 +00:00
parent 4aaae73e51
commit f78305428a

View file

@ -35,7 +35,6 @@
namespace mapnik
{
template <typename T1, typename T2>
void composite(T1 & im, T2 & im2, composite_mode_e mode)
{
@ -45,9 +44,7 @@ void composite(T1 & im, T2 & im2, composite_mode_e mode)
typedef agg::comp_op_adaptor_rgba<color, order> blender_type;
typedef agg::pixfmt_custom_blend_rgba<blender_type, agg::rendering_buffer> pixfmt_type;
typedef agg::renderer_base<pixfmt_type> renderer_type;
typedef agg::comp_op_adaptor_rgba<color, order> blender_type;
typedef agg::renderer_base<pixfmt_type> renderer_type;
agg::rendering_buffer source(im.getBytes(),im.width(),im.height(),im.width() * 4);
agg::rendering_buffer mask(im2.getBytes(),im2.width(),im2.height(),im2.width() * 4);