void render_thunk_extractor::operator()(text_symbolizer const& sym) const { box2d<double> clip_box = clipping_extent_; text_symbolizer_helper helper( sym, feature_, vars_, prj_trans_, common_.width_, common_.height_, common_.scale_factor_, common_.t_, common_.font_manager_, *common_.detector_, clip_box, agg::trans_affine()); extract_text_thunk(helper, sym); }
void render_thunk_extractor::operator()(shield_symbolizer const& sym) const { box2d<double> clip_box = clipping_extent_; helper_ptr helper = std::make_unique<text_symbolizer_helper>( sym, feature_, vars_, prj_trans_, common_.width_, common_.height_, common_.scale_factor_, common_.t_, common_.font_manager_, *common_.detector_, clip_box, agg::trans_affine()); extract_text_thunk(std::move(helper), sym); }