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

Method SetScale

libs/drape_frontend/animation/linear_animation.cpp:86–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void MapLinearAnimation::SetScale(double startScale, double endScale)
87{
88 m_scaleInterpolator = ScaleInterpolator(startScale, endScale, false /* isAutoZoom */);
89 if (m_scaleInterpolator.IsActive())
90 m_properties.insert(Animation::ObjectProperty::Scale);
91}
92
93Animation::TObjectProperties const & MapLinearAnimation::GetProperties(Object object) const
94{

Callers 7

ApplyScaleFunction · 0.45
GetPrettyMoveAnimationFunction · 0.45
GetPrettyFollowAnimationFunction · 0.45
GetRectAnimationFunction · 0.45
GetSetRectAnimationFunction · 0.45
ResolveZoomLevelMethod · 0.45
GetPropertyMethod · 0.45

Calls 3

ScaleInterpolatorClass · 0.85
IsActiveMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected