remove useless inflation

This commit is contained in:
Darafei Praliaskouski 2013-10-14 21:03:44 +03:00 committed by Alex Zolotarev
parent f0a929a1df
commit 2245180471
2 changed files with 0 additions and 3 deletions

View file

@ -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] =
{

View file

@ -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());