Implement draw_paragraph in iced_tiny_skia

This commit is contained in:
Héctor Ramón Jiménez 2023-09-03 08:08:27 +02:00
parent 601e5563d1
commit 8129e2c208
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
3 changed files with 115 additions and 68 deletions

View file

@ -405,7 +405,7 @@ impl Backend {
let clip_mask = (!physical_bounds.is_within(&clip_bounds))
.then_some(clip_mask as &_);
self.text_pipeline.draw(
self.text_pipeline.draw_cached(
content,
*bounds + translation,
*color,