| 252 | } |
| 253 | |
| 254 | PathTextHandle::PathTextHandle(dp::OverlayID const & id, std::shared_ptr<PathTextContext> const & context, float depth, |
| 255 | uint32_t textIndex, uint64_t priority, ref_ptr<dp::TextureManager> textureManager, |
| 256 | int minVisibleScale, bool isBillboard) |
| 257 | : TextHandle(id, context->GetLayout()->GetGlyphs(), dp::Center, priority, textureManager, minVisibleScale, |
| 258 | isBillboard) |
| 259 | , m_context(context) |
| 260 | , m_textIndex(textIndex) |
| 261 | , m_depth(depth) |
| 262 | { |
| 263 | m_buffer.resize(4 * m_context->GetLayout()->GetGlyphCount()); |
| 264 | } |
| 265 | |
| 266 | bool PathTextHandle::Update(ScreenBase const & screen) |
| 267 | { |
nothing calls this directly
no test coverage detected