A custom page painter. The canvas is already transformed to document coordinates (the same space as pageRect), and the current scale factor is devicePixelRatio * zoom. Save/restore the context yourself if you change its state.
pageRect
devicePixelRatio * zoom
The 2D context, transformed to document space.
The page's rectangle in document coordinates.
The PdfPage being painted (for size, rotation, number).
A custom page painter. The canvas is already transformed to document coordinates (the same space as
pageRect), and the current scale factor isdevicePixelRatio * zoom. Save/restore the context yourself if you change its state.