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

Method GetPixelHeight

libs/drape/texture_manager.cpp:143–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143float TextureManager::BaseRegion::GetPixelHeight() const
144{
145 if (!IsValid())
146 return 0.0f;
147
148 return m_info->GetTexRect().SizeY() * m_texture->GetHeight();
149}
150
151m2::RectF const & TextureManager::BaseRegion::GetTexRect() const
152{

Callers

nothing calls this directly

Calls 3

SizeYMethod · 0.80
IsValidFunction · 0.50
GetHeightMethod · 0.45

Tested by

no test coverage detected