Function calculate_intrinsic_size

Source
fn calculate_intrinsic_size(
    point_scale: PointScale,
    job: &LayoutJob,
    paragraphs: &[Paragraph],
) -> Vec2
Expand description

Calculate the intrinsic size of the text.

The result is eventually passed to Response::intrinsic_size. This works by calculating the size of each Paragraph (instead of each Row).