Page height in CSS pixels at zoom, floored to match react-pdf's canvas.
Page width in CSS pixels at zoom, floored to match react-pdf's canvas.
Page height in PDF points (getViewport({ scale: 1 }).height) — feed to pdfYFlip.
1-based page number, matching FormFieldBox.page.
Page width in PDF points (getViewport({ scale: 1 }).width).
The zoom this geometry was computed at. Recomputed from the live prop each render, so mid-zoom-change the overlay leads the canvas until the page re-renders.
CSS + points geometry for one page, from pdf.js's viewport (rotation already applied).
cssWidth/cssHeightarepoints × zoom, floored to match react-pdf's canvas — never read fromcanvas.width/height, which are device pixels (DPR bug, DEV-2542).