PaulStoffregen / ILI9341_t3

Optimized ILI9341 TFT Library
http://pjrc.com/store/display_ili9341.html
241 stars 93 forks source link

Add more X, Y verifications to some primitives... #33

Closed KurtE closed 7 years ago

KurtE commented 7 years ago

Graphic test was calling Rectangles/Filled Rectangles and the like with X=-1, so try to remove those cases. (found by Defragster)

Updated graphic test to remove the issue, but in addition add some verifications for negative values in some of the graphic primitives

blackketter commented 7 years ago

These and other clipping bugs are also fixed in https://github.com/PaulStoffregen/ILI9341_t3/pull/13 along with a feature that allows arbitrary clipping rectangles on the screen.