fixup multi-symbolizer processing function

This commit is contained in:
Dane Springmeyer 2012-02-20 22:53:54 -08:00
parent 0759d1b0dc
commit 9213dd5426
4 changed files with 3 additions and 9 deletions

View file

@ -102,7 +102,7 @@ public:
mapnik::feature_ptr const& feature,
proj_transform const& prj_trans);
inline bool process(rule::symbolizers const& /*syms*/,
Feature const& /*feature*/,
mapnik::feature_ptr const& /*feature*/,
proj_transform const& /*prj_trans*/)
{
// agg renderer doesn't support processing of multiple symbolizers.

View file

@ -111,7 +111,7 @@ public:
mapnik::feature_ptr const& feature,
proj_transform const& prj_trans);
inline bool process(rule::symbolizers const& /*syms*/,
Feature const& /*feature*/,
mapnik::feature_ptr const& /*feature*/,
proj_transform const& /*prj_trans*/)
{
// cairo renderer doesn't support processing of multiple symbolizers.

View file

@ -98,7 +98,7 @@ public:
mapnik::feature_ptr const& feature,
proj_transform const& prj_trans);
inline bool process(rule::symbolizers const& /*syms*/,
Feature const& /*feature*/,
mapnik::feature_ptr const& /*feature*/,
proj_transform const& /*prj_trans*/)
{
// grid renderer doesn't support processing of multiple symbolizers.

View file

@ -475,9 +475,7 @@ void feature_style_processor<Processor>::render_style(
// if the underlying renderer is not able to process the complete set of symbolizers,
// process one by one.
#if defined(SVG_RENDERER)
if(!p.process(symbols,feature,prj_trans))
#endif
{
BOOST_FOREACH (symbolizer const& sym, symbols)
@ -505,9 +503,7 @@ void feature_style_processor<Processor>::render_style(
rule::symbolizers const& symbols = r->get_symbolizers();
// if the underlying renderer is not able to process the complete set of symbolizers,
// process one by one.
#if defined(SVG_RENDERER)
if(!p.process(symbols,feature,prj_trans))
#endif
{
BOOST_FOREACH (symbolizer const& sym, symbols)
{
@ -529,9 +525,7 @@ void feature_style_processor<Processor>::render_style(
rule::symbolizers const& symbols = r->get_symbolizers();
// if the underlying renderer is not able to process the complete set of symbolizers,
// process one by one.
#if defined(SVG_RENDERER)
if(!p.process(symbols,feature,prj_trans))
#endif
{
BOOST_FOREACH (symbolizer const& sym, symbols)
{