ThingPulse / esp8266-oled-ssd1306

Driver for the SSD1306 and SH1106 based 128x64, 128x32, 64x48 pixel OLED display running on ESP8266/ESP32
https://thingpulse.com
Other
1.99k stars 637 forks source link

Circles improved rings #280

Closed NoobTracker closed 4 years ago

NoobTracker commented 4 years ago

I added fillRing(int16_t x, int16_t y, uint16_t radius1, uint16_t radius2, uint8_t quads = B1111, bool improve = false). This function draws a ring. I've also improved the Circle() functions by adding the improve attribute that checks how much of the circle is shown on the screen. This version has the fixed fillCircle().