Fixed DrawEdge incorrectly changing the Canvas Pen color
Original Reporter info from Mantis: zpeterson @boramis
-
Reporter name: Zoë Peterson
Original Reporter info from Mantis: zpeterson @boramis
- Reporter name: Zoë Peterson
Description:
This patch makes DrawEdgeRect save/restore the pen color. DrawEdge shouldn't affect the current canvas pen color and the low-level way it was doing it could (I think) cause cause TPen and it's underlying handle to get out of sync on what they think the current color is. Rev 61617 when DrawEdge was added introduced drawing artifacts for us when we were using colors in the same range as the edge used.
Mantis conversion info:
- Mantis ID: 35998
- Version: 2.0.4
- Fixed in revision: 61761 (#0b60492e)