Hello
Hello,
Someone report me that my Drag&Drop unit for Mobile display a bigger bitmap than the dragged component...
http://lookinside.free.fr/delphi.php?FMXBasedDragDrop
It's true, at least under Berlin and Tokyo on a SONY Z2 Tablet, because MakeScreenShoot returns a 1.5 scaled bitmap...but why ?
EDIT: in fact the bitmap in BeginAutoDrag is a scaled copy of the scaled one, so It's BitmapScale property is 1 !
The screen scale of different devices are different and have to be accounted for. Generally Windows has a 1 but most mobile devices have something different like 1.5 or 2 etc. How that applies to what you're working with I'm unsure.
ReplyDeleteI don't have XE6 on my PC anymore so I can't test, but the animated GIF on my site shows that it worked at that time :)
ReplyDelete