lovyan03 / LovyanGFX

SPI LCD graphics library for ESP32 (ESP-IDF/ArduinoESP32) / ESP8266 (ArduinoESP8266) / SAMD51(Seeed ArduinoSAMD51)
Other
1.02k stars 187 forks source link

added thick lines and gradient fill support #528

Closed tobozo closed 2 months ago

tobozo commented 2 months ago

Features in this PR:

LGFX Methods:

NOTE: COLOR can be any of uint8_t, uint16_t, uint32_t, RGBColor, rgb888_t, rgb565_t, rgb888_t, etc

lovyan03 commented 2 months ago

thanks ! There are places where double type is used for coordinate calculation, but wouldn't float be sufficient? I don't think such exact precision is required.

tobozo commented 2 months ago

fixed, apparently this is also provides a small performance improvement with radial gradients

tobozo commented 2 months ago

btw @lovyan03 do you want me to submit that to M5GFX too ?