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

Method GetExtendedPixelRect

libs/drape/overlay_handle.cpp:126–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126m2::RectD OverlayHandle::GetExtendedPixelRect(ScreenBase const & screen) const
127{
128 if (m_caching && !m_extendedRectDirty)
129 return m_extendedRectCache;
130
131 m_extendedRectCache = GetPixelRect(screen, screen.isPerspective());
132 m_extendedRectCache.Inflate(m_extendingSize, m_extendingSize);
133 m_extendedRectDirty = false;
134 return m_extendedRectCache;
135}
136
137OverlayHandle::Rects const & OverlayHandle::GetExtendedPixelShape(ScreenBase const & screen) const
138{

Callers 4

AddMethod · 0.80
InsertHandleMethod · 0.80
StoreDisplacementInfoMethod · 0.80
LimitRectMethod · 0.80

Calls 2

isPerspectiveMethod · 0.80
InflateMethod · 0.45

Tested by

no test coverage detected