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 bitmaps, text, graphics, functions & framerate. More...

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

Detailed Description

Library test file, tests bitmaps, text, graphics, functions & framerate.

Author
Gavin Lyons.
Note
See USER OPTIONS 1-3 in SETUP function
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 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 500 RGB color OK?
  8. Test 502 Rotate
  9. Test 503 change modes test -> Invert, display on/off and Sleep.
  10. Test 504 scroll
  11. Test 601 Frame rate per second (FPS) test. bitmaps.
  12. Test 603 Frame rate per second (FPS) test. text graphics.
  13. Test 701 print out fonts with writeCharString
  14. Test 705 print method all fonts
  15. Test 706 Misc print class tests (string object, println invert, wrap, base nums)
  16. Test 707 Vectors with print class
  17. Test 902 rectangles
  18. Test 903 Circle
  19. Test 904 Triangles
  20. Test 905 Polygons
  21. Test 906 Dot Grid
  22. Test 907 Quadrilateral
  23. Test 908 Ellipse
  24. Test 909 Draw Arc and draw simple arc
  25. Test 910 Draw Line at angle function