Skip to main content

compute_density

Function compute_density 

Source
pub fn compute_density(
    elements: &[ContentElement],
    page_width: f64,
    page_height: f64,
) -> ContentDensity
Expand description

Compute content density for a page.