Matt S. Member Licensed User Today at 1:44 AM #1 In B4A We can draw only a portion of a bitmap with: B4A: canvas1.DrawBitmap(bitmap1, SrcRect1, DestRect1) How can we do the same in B4i. Note that "DrawBitmap" in B4i does NOT get the "SrcRect1" argument. for example we have: B4i: canvas1.DrawBitmap(bitmap1, DestRect1) Thanks anybody replying.
In B4A We can draw only a portion of a bitmap with: B4A: canvas1.DrawBitmap(bitmap1, SrcRect1, DestRect1) How can we do the same in B4i. Note that "DrawBitmap" in B4i does NOT get the "SrcRect1" argument. for example we have: B4i: canvas1.DrawBitmap(bitmap1, DestRect1) Thanks anybody replying.
Erel B4X founder Staff member Licensed User Longtime User Today at 6:55 AM #2 Best to use B4XCanvas, which is cross platform. You can draw a part using B4XBitmap.Crop. Upvote 0