| 138 | } |
| 139 | |
| 140 | drape_ptr<dp::OverlayHandle> PathTextShape::CreateOverlayHandle(uint32_t textIndex, |
| 141 | ref_ptr<dp::TextureManager> textures) const |
| 142 | { |
| 143 | dp::OverlayID overlayId(m_params.m_featureId, m_params.m_markId, m_tileCoords, m_baseTextIndex + textIndex); |
| 144 | auto const layout = m_context->GetLayout(); |
| 145 | auto const priority = GetOverlayPriority(textIndex, layout->GetGlyphCount()); |
| 146 | return make_unique_dp<PathTextHandle>(overlayId, m_context, m_params.m_depth, textIndex, priority, textures, |
| 147 | m_params.m_minVisibleScale, true /* isBillboard */); |
| 148 | } |
| 149 | |
| 150 | void PathTextShape::Draw(ref_ptr<dp::GraphicsContext> context, ref_ptr<dp::Batcher> batcher, |
| 151 | ref_ptr<dp::TextureManager> textures) const |
nothing calls this directly
no test coverage detected