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

Method Scale

libs/drape_frontend/navigator.cpp:161–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161void Navigator::Scale(m2::PointD const & pixelScaleCenter, double factor)
162{
163 ApplyScale(pixelScaleCenter, factor, m_Screen);
164}
165
166bool Navigator::ScaleImpl(m2::PointD const & newPt1, m2::PointD const & newPt2, m2::PointD const & oldPt1,
167 m2::PointD const & oldPt2, bool skipMinScaleAndBordersCheck, bool doRotateScreen,

Callers 13

ScaleIntoFunction · 0.45
ShrinkAndScaleIntoFunction · 0.45
ApplyScaleFunction · 0.45
CacheRouteArrowsMethod · 0.45
CacheRouteMethod · 0.45
SetFromScreenMethod · 0.45
CheckMinGlobalRectFunction · 0.45
CheckMinMaxVisibleScaleFunction · 0.45
AcceptMessageMethod · 0.45
GetVisiblePOIMethod · 0.45
OnNewVisibleViewportMethod · 0.45
CalculateArrowBordersFunction · 0.45

Calls 1

ApplyScaleFunction · 0.85

Tested by 1

UNIT_TESTFunction · 0.36