Creating a PDF in Swift with PDFKit | raywenderlich.com

@vegepilot I’m happy to hear you found the tutorial helpful. I think what you’re looking for is userSpaceToDeviceSpaceTransform. You can find more information about it in the Apple documentation for UIGraphicsPDFRenderer at Apple Developer Documentation