convert(_:to:)
Converts a point from view space to page space.
Declaration
func convert(_ point: CGPoint, to page: PDFPage) -> CGPointfunc convert(_ point: NSPoint, to page: PDFPage) -> NSPointDiscussion
Page space is a 72 dpi coordinate system with the origin at the lower-left corner of the current page. View space is a coordinate system with the origin at the lower-left corner of the current PDF view.