From e93c5604a687dd11ada2b8a5785b3607c69ea510 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Tue, 3 Jul 2012 13:32:27 -0700 Subject: [PATCH] use detector extent for shields that is also sensitive to buffer_size - refs #1283 --- src/agg/process_shield_symbolizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agg/process_shield_symbolizer.cpp b/src/agg/process_shield_symbolizer.cpp index 934290789..b900c3bca 100644 --- a/src/agg/process_shield_symbolizer.cpp +++ b/src/agg/process_shield_symbolizer.cpp @@ -42,7 +42,7 @@ void agg_renderer::process(shield_symbolizer const& sym, shield_symbolizer_helper, label_collision_detector4> helper( sym, feature, prj_trans, - width_, height_, + detector_->extent().width(), detector_->extent().height(), scale_factor_, t_, font_manager_, *detector_, query_extent_);