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

Method GetPivot

libs/drape_frontend/path_text_handle.cpp:139–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139bool PathTextContext::GetPivot(size_t textIndex, m2::PointD & pivot, m2::Spline::iterator & centerPointIter) const
140{
141 if (textIndex >= m_centerGlobalPivots.size())
142 return false;
143
144 pivot = m_centerGlobalPivots[textIndex];
145 centerPointIter = m_centerPointIters[textIndex];
146 return true;
147}
148
149void PathTextContext::Update(ScreenBase const & screen)
150{

Callers 4

RenderMethod · 0.45
UpdateMethod · 0.45
GetVisiblePOIMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected