TFPCustomCanvas.Draw and .StretchDraw do not support alpha-blended images
Original Reporter info from Mantis: kluug.net @onpok
-
Reporter name: Ondrej Pokorny
Original Reporter info from Mantis: kluug.net @onpok
- Reporter name: Ondrej Pokorny
Description:
If you draw an image with an alpha channel with .Draw or .StretchDraw, the original canvas pixels are overwritten even if the image is transparent there.
Steps to reproduce:
See the attached project. See the results in attached images:
edit-clear-draw - orig.png VS edit-clear-draw - patched.png
edit-clear-strechdraw - orig.png VS edit-clear-strechdraw - patched.png
Additional information:
Patch attached.
Mantis conversion info:
- Mantis ID: 34266
- Fixed in version: 3.3.1
- Fixed in revision: 41341 (#f7375215)
- Target version: 3.2.0