TLazIntfImage.CopyPixels allow clipping only on right and bottom and raise an exception if XDst and YDst are negatives
Original Reporter info from Mantis: ti_dic
-
Reporter name: Cedric
Original Reporter info from Mantis: ti_dic
- Reporter name: Cedric
Description:
the source image with TLazIntfImage.CopyPixels can be clipped only on bottom and right, trying to copy an image with negative value in parameter x and y an exception is raised.
i joined a patch to allow clipping on top and left.
Perhaps TLazCanvas can do clipping, but i didn't tried it.
Steps to reproduce:
see sample.zip
Mantis conversion info:
- Mantis ID: 27144
- Platform: linux
- Version: 1.2.7 (SVN)
- Fixed in revision: 57653 (#68b3fe10)
- Target version: 1.8.4