MCPcopy Create free account
hub / github.com/comaps/comaps / ProcessPointStyle

Method ProcessPointStyle

libs/drape_frontend/rule_drawer.cpp:408–416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406}
407
408void RuleDrawer::ProcessPointStyle(FeatureType & f, Stylist const & s, TInsertShapeFn const & insertShape)
409{
410 if (IsDiscardCustomFeature(f.GetID()) || IsHiddenChristmasFeature(f))
411 return;
412
413 ApplyPointFeature apply(m_context->GetTileKey(), insertShape, f, s.GetCaptionDescription());
414 apply.ProcessPointRules(s.m_symbolRule, s.m_captionRule, s.m_houseNumberRule, f.GetCenter(),
415 m_context->GetTextureManager());
416}
417
418void RuleDrawer::operator()(FeatureType & f)
419{

Callers

nothing calls this directly

Calls 4

ProcessPointRulesMethod · 0.80
GetTextureManagerMethod · 0.80
GetIDMethod · 0.45
GetCenterMethod · 0.45

Tested by

no test coverage detected