I’m still struggling getting a conceptual hold on HiDPI and graphics in Xojo.
In the old days I would create a new Picture with a size, and I would draw into it several times with hardcoded coordinates, because I always knew the size. I have that type of coding many times in my apps.
But if I go the HiDPI way in my apps, those days are gone, right? If I do:
P = w.BitmapForCaching(48, 48)
P might be 48x48, or it could be 96x96 - it depends on the monitor the user is using, right? The divisors are the ScaleX and ScaleY, correct?
So in all my drawing routines, I have to factor the Scale parameters in so my drawing coordinates are always correct. Is that right?