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

Function GetPrettyMoveAnimation

libs/drape_frontend/screen_animations.cpp:26–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24std::string const kParallelLinearAnim = "ParallelLinear";
25
26drape_ptr<SequenceAnimation> GetPrettyMoveAnimation(ScreenBase const & startScreen, ScreenBase const & endScreen)
27{
28 return GetPrettyMoveAnimation(startScreen, startScreen.GetScale(), endScreen.GetScale(), startScreen.GetOrg(),
29 endScreen.GetOrg());
30}
31
32drape_ptr<SequenceAnimation> GetPrettyMoveAnimation(ScreenBase const & screen, m2::AnyRectD const & startRect,
33 m2::AnyRectD const & endRect)

Callers 1

SetScreenMethod · 0.85

Calls 8

CalculateScaleFunction · 0.85
GlobalCenterMethod · 0.80
SetMoveMethod · 0.80
GetScaleMethod · 0.45
SetCustomTypeMethod · 0.45
SetScaleMethod · 0.45
SetMaxDurationMethod · 0.45
AddAnimationMethod · 0.45

Tested by

no test coverage detected