I am drawing some custom made warning signs on a TFT display. Since loading a bmp from memory would take too long I am using the primitive functions (Adafruit library) to draw circles, triangles, etc.
I am currently trying to draw half circles to display a Brake indicator light and a high beam indicator, without success.
Here are the symbols I need to display:
Alternatively I could perhaps store then as a monochrome bitmap in flash memory and load them from there, but I would need to define the background color as red or blue instead of white.
The icons will be 80*80px or smaller
I have about a dozen other symbols drawn that way but for those in particular its not feasible to use the above method with the functions provided by the library. To make a curved line either I draw a full circle and delete any unnecessary parts or I have to draw point by point, which takes a significant ammount of time.
A typical 80x80px 24bit bitmap takes 150ms to load with my current configuration. I can only assume a monochrome bitmap would take about 20 to 30ms, but I found no toturials on how to load them to a colour screen. Perhaps you could sugest something?