When visiting here
https://www.copperspice.com/docs/cs_api/class_qpixmap.html#a770dae6f92c58c409a682424ca5aabf5
The documentation just uses an int for height and width but doesn't list units. Yes, one could theoretically assume pixels, but one could also assume inches or centimeters if they are scaling for printed output.
pageRect actually names a unit
https://www.copperspice.com/docs/cs_api/class_qprinter.html#ac5bdf4b8b3d57439b21bf3a371c15cba
scaledToWidth scaledToHeight Documentation
-
- Posts: 263
- Joined: Thu Jun 11 2020 12:18 pm