forked from organicmaps/organicmaps
remove useless inflation
This commit is contained in:
parent
f0a929a1df
commit
2245180471
2 changed files with 0 additions and 3 deletions
|
@ -27,7 +27,6 @@ namespace graphics
|
|||
ASSERT(res->m_cat == Resource::EImage, ());
|
||||
|
||||
m2::RectI texRect(res->m_texRect);
|
||||
texRect.Inflate(-2, -2);
|
||||
|
||||
m2::PointF pts[6] =
|
||||
{
|
||||
|
|
|
@ -44,7 +44,6 @@ namespace graphics
|
|||
m2::AnyRectD const SymbolElement::boundRect() const
|
||||
{
|
||||
m2::RectI texRect(m_symbolRect);
|
||||
texRect.Inflate(-1, -1);
|
||||
|
||||
m2::PointD sz(texRect.SizeX(), texRect.SizeY());
|
||||
|
||||
|
@ -76,7 +75,6 @@ namespace graphics
|
|||
}
|
||||
|
||||
m2::RectI texRect(res->m_texRect);
|
||||
texRect.Inflate(-1, -1);
|
||||
|
||||
m2::PointD sz(texRect.SizeX(), texRect.SizeY());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue