Skip to content

Fix screen rotation bug in rectangles, fix compiler warnings.

Latest
Compare
Choose a tag to compare
@Roger-random Roger-random released this 27 Jun 08:07
· 9 commits to main since this release

Bug Fix

  • Fix coordinate math errors in drawRect() and fillRect() support for setRotation(). (#27)
  • Compiler warning for printf() formatting. (#24)
  • Compiler warning for switch() fallthrough. (#35)

New Example

  • Example named GFX_RotatedRect has been added to illustrate animating a rectangle's X/Y/Width/Height (one of four, cycles every second) in all four orientations.

Maintenance

  • Verified to work with updated Adafruit_GFX (1.11.2) and ESP32 Arduino Core (2.0.3)