| 352 | } |
| 353 | |
| 354 | glsl::vec2 StraightTextLayout::GetTextOffset(m2::PointF const & symbolSize, dp::Anchor textAnchor, |
| 355 | dp::Anchor symbolAnchor) const |
| 356 | { |
| 357 | auto const symbolBasedOffset = GetSymbolBasedTextOffset(symbolSize, textAnchor, symbolAnchor); |
| 358 | return m_baseOffset + glsl::ToVec2(symbolBasedOffset); |
| 359 | } |
| 360 | |
| 361 | void StraightTextLayout::CacheStaticGeometry(dp::TextureManager::ColorRegion const & colorRegion, |
| 362 | gpu::TTextStaticVertexBuffer & staticBuffer) const |
no test coverage detected