FillRect Firemonkey Delphi – For IOS is working OK, for Android resolution is not like in bitmap height and width size?

  

I have troubles with Fillrect command on Android device.
For IOS -there is everything OK.
For Android – when resolution of image is 360*100,
resolution in Fillrect is only circa 130*50?
Does anybody know what kind of bug is this?

image1.Bitmap.SetSize(360,100);
Hei1:=round(image1.height);
wid1:=round(image1.Width);
image1.Bitmap.Canvas.BeginScene;
barva:=$FF000000+random($FFFFFF);
FB := TBrush.Create(TBrushKind.bkSolid,barva);
image1.Bitmap.Canvas.FillRect(Rectf(0,0,130,80),0,0,[],1,FB);

Comments are closed.