Convert PDF page coordinates to device (screen) coordinates
Source:R/api_completion.R
pdf_page_to_device.RdInverse of pdf_device_to_page(). Wraps FPDF_PageToDevice.
Arguments
- page
A
pdfium_pagefrompdf_page_load().- start_x, start_y
Integer — device-pixel position of the display area's top-left.
- size_x, size_y
Integer — pixel size of the rendering window.
- rotate
Integer —
0,1,2, or3(clockwise quarter turns). Same convention as PDFium's other rendering functions.- page_x, page_y
Numeric — the point in PDF user-space (points) to convert.