adafruit / Adafruit-GFX-Library

Adafruit GFX graphics core Arduino library, this is the 'core' class that all our other graphics libraries derive from
https://learn.adafruit.com/adafruit-gfx-graphics-library
Other
2.41k stars 1.55k forks source link

Added Hollow Circle feature #429

Open sgl26 opened 1 year ago

sgl26 commented 1 year ago

Allows user to draw thick circles without drawing multiple circles one after another.

with the current master package, this can be done by overlaying a small cicle over the top of a larger circle, but this removes the detail below the circle.

Added feature so does not mess with any other functions. The feature has not been tested with bold rectangles yet. This could be integrated, if needed, by adding a further function. It did not seem like a useful feature.

The code can be tested using the ST7735 library by adafruit and using the fillHollowCircle Function.