Scale back to original scale if possible when writing an image
ImagePlatformKWin: move logicalX/logicalY to ImageMetaData.h
ImagePlatformKWin: Store the geometries of all sub images in a combined image as metadata
To be used for scaling images based on the original device pixel ratio.
AnnotationDocument: set logicalX/logicalY for images created by renderToImage
set to the position of the canvas rectangle
ExportManager: Scale back to original scale if possible when writing an image
This way when you have a 1920x1080@1x screen and a 3840x2160@2x screen, a rectangular screenshot on the 1080p screen gives a 1x scale image instead of a 2x scale image when the image is finally saved.
Edited by Noah Davis