Problems with drawBitmapRotated

manios

Active Member
Licensed User
Longtime User
Hi,

when using canvas.drawBitmapRotated there is always an offset.
I cannot find out why.

I enclose the test project and a screenshot from the device.
 

Attachments

  • TCanvas.zip
    52.3 KB · Views: 187

manios

Active Member
Licensed User
Longtime User
Hi vb1922,

Thanks for pointing me in the right direction!
The rotation is done around the CENTER of the picture, so this creates the shown effect. I will have to find another way as my pictures (from the camera) are never square.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…