calculatePdfToViewMatrix

fun calculatePdfToViewMatrix(pageSize: Size, scaleFactor: Float): Matrix

Calculate the matrix to transform PDF coordinates to view coordinates.

Parameters

pageSize

The size of the page in pdf points

scaleFactor

The scale factor to apply to the page