I need to Xor all pixels in a rect, with the same color n.
For TCanvas, I did Pixels[i,j]:= Pixels[i,j] xor n.
For TBgraBitmap, I cannot find how to.
I tried to use FillRect with DrawMode all values, but got not expected result colors.
dmDrawTransparent comment tells it must do xor?