[][src]Function printpdf::utils::calculate_points_for_rect

pub fn calculate_points_for_rect(
    scale_x: Pt,
    scale_y: Pt,
    offset_x: Pt,
    offset_y: Pt
) -> Vec<(Point, bool)>

Calculates and returns the points for a rectangle, given a horizontal and vertical scale, and an offset into the page from the lower left corner.