Module printpdf::utils[][src]

Utility / conveniece functions for commonly use graphical shapes

Functions

calculate_points_for_circle

Calculates and returns the points for an approximated circle, given a radius and an offset into the page from the lower left corner.

calculate_points_for_rect

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.