Text grow width/height

This commit is contained in:
alonso.torres 2025-05-06 17:23:46 +02:00 committed by Alonso Torres
parent 6b300d516b
commit 568af52ebc
13 changed files with 381 additions and 106 deletions

View file

@ -356,6 +356,7 @@ impl RenderState {
s.canvas().concat(&matrix);
});
let text_content = text_content.new_bounds(shape.selrect());
let paragraphs = text_content.get_skia_paragraphs(&self.fonts.font_collection());
shadows::render_text_drop_shadows(self, &shape, &paragraphs, antialias);