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

Method SetMove

libs/drape_frontend/animation/linear_animation.cpp:64–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void MapLinearAnimation::SetMove(m2::PointD const & startPos, m2::PointD const & endPos, ScreenBase const & convertor)
65{
66 m_positionInterpolator = PositionInterpolator(startPos, endPos, convertor);
67 if (m_positionInterpolator.IsActive())
68 m_properties.insert(Animation::ObjectProperty::Position);
69}
70
71void MapLinearAnimation::SetMove(m2::PointD const & startPos, m2::PointD const & endPos, m2::RectD const & viewportRect,
72 double scale)

Callers 4

GetPrettyMoveAnimationFunction · 0.80
GetPrettyFollowAnimationFunction · 0.80
GetRectAnimationFunction · 0.80
GetSetRectAnimationFunction · 0.80

Calls 3

IsActiveMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected