First of all, I know that screen.width and screen.height are reduced when the display scale is increased.
For example, 1920x1080 becomes 1280x720 when the display scale is increased from 100% to 150% and
this may have something to do with the problem shown below.
Fig. 1 shows a polygon on a TImage when the test sub-program was started with the display scale set to
100% and then increased to 150% AFTER the program was run. Everything is fine.
However, if the display scale is set to 150% BEFORE the sub- program is run then the undesired result is
shown in Fig. 2. The image is smaller and its cropped.
Is there something the launching application or the test sub-program can do to prevent what Fig. 2 shows?
Of course, the launching application can detect the display scale before the test program is run and thus
alert the user if the scale is set higher than 100% but I was hoping to find a better solution.