Display_Lib_RPI 2.5.0
A C++ Library to connect electronic displays to Linux single board computers.
Loading...
Searching...
No Matches
main.cpp File Reference

Library test file, tests Bitmaps,text ,graphics & functions. More...

#include <atomic>
#include <csignal>
#include <thread>
#include "Bitmap_test_data.hpp"
#include "GC9A01_TFT_LCD_RDL.hpp"

Detailed Description

Library test file, tests Bitmaps,text ,graphics & functions.

Author
Gavin Lyons.
Note
See USER OPTIONS 1-3 in SETUP function
Test:
  1. Test 300 Sprites demo, small bitmap
  2. Test 301 icons, small bitmap
  3. Test 302 bi-color image 128x128
  4. Test 303 24 bit color image bitmaps from the file system
  5. Test 304 16 bit color image bitmaps from the file system
  6. Test 305 16 bit color image bitmap from data
  7. Test 501 RGB color OK?
  8. Test 502 Scroll
  9. Test 503 Rotate
  10. Test 504 change modes test -> Invert, display on/off and Sleep.
  11. Test 701 Print out all fonts with writeCharString
  12. Test 702 Print out all fonts with print
  13. Test 703 Misc print class tests(string object, println invert, wrap, etc)
  14. Test 902 rectangles
  15. Test 903 Circle
  16. Test 904 Triangles
  17. Test 905 Polygons
  18. Test 906 Dot Grid
  19. Test 907 Quadrilateral
  20. Test 908 Ellipse
  21. Test 909 Draw Arc and draw simple arc