PaintBox.Canvas.ClipRect works incorrectly
Original Reporter info from Mantis: Ask
-
Reporter name: Alexander S. Klenin
Original Reporter info from Mantis: Ask
- Reporter name: Alexander S. Klenin
Description:
Apparently, PaintBox.Canvas.ClipRect interprets
clipping rectangle coordinates in the coordinate system of the parent control.
Steps to reproduce:
- Open attached project.
- Press Button1.
What should happen:
Both PaintBox and Panel shound contain identical image.
What happens:
PaintBox image is clipped incorrectly.
Additional information:
Tested on Windows only, maybe windows-specific.
Mantis conversion info:
- Mantis ID: 15508
- Version: 0.9.29 (SVN)
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 25239 (#6f99fb63)
- Target version: 1.0.0
- LazTarget: 1.0