Rectangle Packages

rect-crop

Crop a dimension in a viewport: Compute a rectangle from a zoom ratio and a center point while preserving the dimension ratio.

0.0.0 • Published 10 years ago