[][src]Module usvg::utils

Some useful utilities.

Functions

aligned_pos

Returns object aligned position.

f64_bound

Bounds f64 number.

view_box_to_transform

Converts viewBox to Transform.

view_box_to_transform_with_clip

Converts viewBox to Transform with an optional clip rectangle.