Display_Lib_RPI 2.7.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 Text,graphics, functions, bitmaps and FPS. More...

#include <iostream>
#include "Bitmap_test_data.hpp"
#include "ILI9341_TFT_LCD_RDL.hpp"

Detailed Description

Library test file, tests Text,graphics, functions, bitmaps and FPS.

Author
Gavin Lyons.
Note
See USER OPTIONS 1-3 in SETUP function

The FPS test(601) is setup for a 128by128 pixel bitmap Five files 128by128 pixels are loaded and displayed as many times as possible in 10 seconds to calculate FPS. 289 frames, 10 sec, 28.8396 fps at 8Mhz SPI Baud rate, HW SPI

Test:
  1. Test 300 Sprites demo, small bitmap
  2. Test 301 "clock demo" , icons, small bitmap
  3. Test 302 bi-color image 128x128
  4. Test 303A 24 bit 240by280 color image bitmap from the file system
  5. Test 303B 24 bit 128by128 color image bitmaps from the file system
  6. Test 304A 16 bit 128by128 color image bitmaps from the file system
  7. Test 304B 16 bit 240by320 color image bitmap from the file system
  8. Test 500 RGB color OK?
  9. Test 502 Rotate
  10. Test 503 change modes test -> Invert, display on/off and Sleep.
  11. Test 601 Frame rate per second (FPS) test. 24 bit bitmaps.
  12. Test 701 print out fonts 1-12
  13. Test 702 defined 16-bit Colors, text
  14. Test 703 print entire ASCII font 32 to 127, default font
  15. Test 704 font invert + test character draw using draw functions
  16. Test 705 print method all fonts
  17. Test 706 Misc print class tests (string object, println invert, wrap, base nums etc)
  18. Test 707 Misc draw functions (Invert, wrap)s
  19. Test 708 Vectors with print class
  20. Test 902 rectangles
  21. Test 903 Circle
  22. Test 904 Triangles
  23. Test 905 Polygons
  24. Test 906 Dot Gap
  25. Test 907 Quadrilateral
  26. Test 908 Ellipse
  27. Test 909 Draw Arc and draw simple arc
  28. Test 910 Draw line at an angle