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

Method StartScale

libs/drape_frontend/navigator.cpp:150–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150void Navigator::StartScale(m2::PointD const & pt1, m2::PointD const & pt2)
151{
152 m_StartScreen = m_Screen;
153 m_StartPt1 = m_LastPt1 = pt1;
154 m_StartPt2 = m_LastPt2 = pt2;
155
156 m_DoCheckRotationThreshold = true;
157 m_IsRotatingDuringScale = false;
158 m_InAction = true;
159}
160
161void Navigator::Scale(m2::PointD const & pixelScaleCenter, double factor)
162{

Callers 2

BeginScaleMethod · 0.80
UNIT_TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

UNIT_TESTFunction · 0.64