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