decoration: Paint border correctly when a device pixel ratio is set
The current code uses QImage::rect() which is a value in device pixels. We want to be using the logical size for all painting.
The current code uses QImage::rect() which is a value in device pixels. We want to be using the logical size for all painting.