Function printpdf::utils::calculate_points_for_circle
source · [−]pub fn calculate_points_for_circle<P: Into<Pt>>(
radius: P,
offset_x: P,
offset_y: P
) -> Vec<(Point, bool)>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
Expand description
Calculates and returns the points for an approximated circle, given a radius and an offset into the centre of circle (starting from bottom left corner of page).