Calculate aspect ratio, fit, fill, stretch, integer scaling, letterboxing, cropping, and safe-area behavior across target screens.