Add Sprite rotation and examples

Sprites can be rendered rotated with defined pivot points, 3 new
examples have been added "Rotated_Sprite_1/2/3".
The FLASH bitmap example has been moved to the Generic examples folder.
Boundary checks have been added to pushImage()
A new scrolling and wrapping in a Sprite example has been added.
This commit is contained in:
Bodmer committed 2019-01-06 01:14:10 +00:00
1 parent e8c201db5e
commit 96228cbf44
30 files changed
+1164 -656

No files matched your search

+5
View File
@@ -66,6 +66,11 @@
// #define ST7735_BLACKTAB
// #define ST7735_REDTAB160x80 // For 160 x 80 display (24 offset) (https://www.aliexpress.com/item/ShengYang-1pcs-IPS-0-96-inch-7P-SPI-HD-65K-Full-Color-OLED-Module-ST7735-Drive/32918394604.html)
// If colours are inverted (white shows as black) then uncomment one of the next
// 2 lines try both options, one of the options should correct the inversion.
//#define TFT_INVERSION_ON
//#define TFT_INVERSION_OFF
// ##################################################################################
//
// Section 1. Define the pins that are used to interface with the display here