I suppose that engine in background creates image from pdf.
Yes. => The good news that the difference between the returned coordinates and your coordinate system is a constant scaling factor. So you can use a few know positions to figure out what the scaling factor is for your setup (e. g. “1.5”) and then simply multiply all returned coordinates by it.