PdfRasterGeometry
Output geometry for rasterizing a PdfPage at a given scale: how big the target surface must be, in device pixels, and the matrix that carries unscaled PDF user space onto it.
A rasterizer allocates a surface of widthPx x heightPx and paints with page.renderTo(canvas, deviceCtm). That is the whole contract: this is the one thing every convenience rasterizer (AWT, Android, Apple, Skia) needs from a page before it can draw it, so it is computed once, here, instead of once per backend.