Fit the given document rect into the view.
The rectangle to process.
The viewport size.
Options that customize the operation.
The resulting ViewTransform.
Fit the given document rect into the view.