I have a canvas where I draw a rectangle on.
If the rect is: Left = 100, Top = 100, Right = 200, Bottom = 200.
I use both Invalidate2(rect) and Invalidate3(the coodinates)
The rectangle draws perfect.
However, if I make the rect: Left = 100, Top = 100, Right = 0, Bottom = 0.
The image will not draw at all if I use Invalidate2 or Invalidate3.
I have to use Invalidate.
This leads me to believe that Invalidate2 and 3 DO NOT take in consideration a negative rectangle, even though the drawRect method DOES draw a negative rectangle.
Can this be fixed?
If the rect is: Left = 100, Top = 100, Right = 200, Bottom = 200.
I use both Invalidate2(rect) and Invalidate3(the coodinates)
The rectangle draws perfect.
However, if I make the rect: Left = 100, Top = 100, Right = 0, Bottom = 0.
The image will not draw at all if I use Invalidate2 or Invalidate3.
I have to use Invalidate.
This leads me to believe that Invalidate2 and 3 DO NOT take in consideration a negative rectangle, even though the drawRect method DOES draw a negative rectangle.
Can this be fixed?