| 579 | } |
| 580 | |
| 581 | void FlatImageView::FitImageToView() |
| 582 | { |
| 583 | float2 scales = m_viewSize / m_textureSize; |
| 584 | m_displayScale = std::min(scales.x, scales.y); |
| 585 | m_textureCenterOffset = 0; |
| 586 | } |
nothing calls this directly
no outgoing calls
no test coverage detected