Canvas.CopyRect - strange results [Qt only]
Original Reporter info from Mantis: Blaazen @Blaazen
-
Reporter name: Vojtech Cihak
Original Reporter info from Mantis: Blaazen @Blaazen
- Reporter name: Vojtech Cihak
Description:
Canvas.CopyRect gives bad results. Copy depends on position of destination rectangle.
Demo works well with GTK2.
Steps to reproduce:
Run demo.
Demo creates bitmap BMP with size 200x100 and paints themed button (200x50) onto it.
Press the first button: it copies rectangle (200x55) to destination 0, 0, 200, 55. This works well.
Press the second button: it copies the same rectangle to destination 0, 1, 200, 56; i.e the same size but 1 pixel down. Now the result is weird, its height is 50% only.
Both copies are 1:1, no stretch drawing.
Additional information:
Lazarus 1.3 r44273M FPC 2.7.1 x86_64-linux-qt
KDE 4.12.2
Qt 4.8.5
Mantis conversion info:
- Mantis ID: 25830
- OS: Linux
- OS Build: Chakra 64-bit
- Build: 44273
- Platform: amd64
- Version: 1.3 (SVN)
- Fixed in revision: 44362 (#17d4ecea)