Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ ExpandRectForPreview
Function
ExpandRectForPreview
libs/map/bookmark_helpers.cpp:769–775 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
767
}
768
769
void ExpandRectForPreview(m2::RectD & rect)
770
{
771
if (!rect.IsValid())
772
return;
773
774
rect.Scale(df::kBoundingBoxScale);
775
}
Callers
2
ShowTrack
Method · 0.85
ShowBookmarkCategory
Method · 0.85
Calls
2
IsValid
Method · 0.45
Scale
Method · 0.45
Tested by
no test coverage detected