| 148 | } |
| 149 | |
| 150 | void PathTextShape::Draw(ref_ptr<dp::GraphicsContext> context, ref_ptr<dp::Batcher> batcher, |
| 151 | ref_ptr<dp::TextureManager> textures) const |
| 152 | { |
| 153 | if (m_context->GetLayout() == nullptr || m_context->GetOffsets().empty()) |
| 154 | return; |
| 155 | |
| 156 | if (m_params.m_textFont.m_outlineColor == dp::Color::Transparent()) |
| 157 | DrawPathTextPlain(context, textures, batcher); |
| 158 | else |
| 159 | DrawPathTextOutlined(context, textures, batcher); |
| 160 | } |
| 161 | } // namespace df |
nothing calls this directly
no test coverage detected