| 372 | } |
| 373 | |
| 374 | void TextPainter::modifyDirectives(Directives& directives) { |
| 375 | if (directives) { |
| 376 | directives.loadOperations(); |
| 377 | for (auto& entry : directives->entries) { |
| 378 | if (auto border = entry.operation.ptr<BorderImageOperation>()) |
| 379 | border->includeTransparent = true; |
| 380 | } |
| 381 | } |
| 382 | } |
| 383 | |
| 384 | RectF TextPainter::doRenderText(StringView s, TextPositioning const& position, bool reallyRender, unsigned* charLimit) { |
| 385 | Vec2F pos = position.pos; |
nothing calls this directly
no test coverage detected