diff --git a/src/agg/agg_renderer.cpp b/src/agg/agg_renderer.cpp index cac9710a6..6fc29f91f 100644 --- a/src/agg/agg_renderer.cpp +++ b/src/agg/agg_renderer.cpp @@ -300,6 +300,7 @@ void agg_renderer::render_marker(pixel_position const& pos, marker const& mar typedef agg::pixfmt_custom_blend_rgba pixfmt_comp_type; typedef agg::renderer_base renderer_base; typedef agg::renderer_scanline_aa_solid renderer_type; + typedef agg::pod_bvector svg_attribute_type; ras_ptr->reset(); ras_ptr->gamma(agg::gamma_power()); @@ -324,9 +325,9 @@ void agg_renderer::render_marker(pixel_position const& pos, marker const& mar vertex_stl_adapter stl_storage((*marker.get_vector_data())->source()); svg_path_adapter svg_path(stl_storage); svg_renderer_agg, + svg_attribute_type, renderer_type, - agg::pixfmt_rgba32> svg_renderer(svg_path, + pixfmt_comp_type> svg_renderer(svg_path, (*marker.get_vector_data())->attributes()); svg_renderer.render(*ras_ptr, sl, renb, mtx, opacity, bbox);