Pixels behavior depends on previous setting of PenMode
Original Reporter info from Mantis: PederGG
-
Reporter name: Peder Iversen
Original Reporter info from Mantis: PederGG
- Reporter name: Peder Iversen
Description:
I use a code that sets the Pixels Color individually. That works fine, but when the modes pmNot and bsClear have been set and then set back to pmCopy and bsSolid it seems that setting the pixels color just inverts the color.
Additional information:
A: The DrawRectangle will paint the form yellow by setting each Pixels color.
B: The "Outline" menu item will draw an inverted rectangle
After B has been used A doesn't work properly any more.
I must admit that I am a novice in programming, but a similar approach worked fine in creating a Mandelbroot type program in Delphi.
Yours Peder Iversen, Denmark.
Mantis conversion info:
- Mantis ID: 20614
- Version: 0.9.30
- Fixed in version: 1.3 (SVN)
- Fixed in revision: 46324 (#7344e5cc)
- Target version: 1.4