Rolf Howarth 5af87372aa
Use signed arithmetic when reading rectangle (#1131)
* Use signed arithmetic when reading rectangle

An operation such as DirectBitsRect can fail if the origin is -ve and we're applying a screen image ratio. See for example P564B1400.pict

* Fix copy/paste error in testNegativeOrigin()

---------

Co-authored-by: Harald Kuhr <harald.kuhr@gmail.com>
2025-05-30 16:14:23 +02:00
..