| 74 | _dirty = true; |
| 75 | } |
| 76 | Sizef _EmbeddedParagraph::layout(BoxConstraints constraints) |
| 77 | { |
| 78 | build(); |
| 79 | this->set_width(constraints.max_width); |
| 80 | auto text_size = this->get_size(); |
| 81 | return { text_size.x, text_size.y }; |
| 82 | } |
| 83 | void _EmbeddedParagraph::paint(NotNull<PaintingContext*> context, Offsetf offset) |
| 84 | { |
| 85 | build(); |