computeCropRect

fun computeCropRect(frameW: Float, frameH: Float, srcW: Int, srcH: Int, userScale: Float, panX: Float, panY: Float): PixelRect

The source-pixel rectangle currently inside the crop frame, given the cover-fit base plus the user's userScale and pan offsets (frame pixels, measured from the frame centre). Pure, so the interactive cropper's gesture mapping is unit-testable independent of Compose.