Closed Nikita-bunikido closed 1 year ago
Hi, thamks for your interest.
The library inherits drawing methods from AdafruitGFx library. Did you try to use the circle drawing function from there?
Did you try to use the circle drawing function from there?
Thank you, found this:
void fillCircle (int16_t x0, int16_t y0, int16_t r, uint16_t color);
Works well for me!
Library does support drawing rectangles:
void drawFilledBox(int x1, int y1, int x2, int y2, uint16_t color);
, but doesn't support drawing circles yet. So I came up with this solution:Assuming blue background,
put_circle((vec2){5, 5}, 5, 0xf81f);
produces this:It would be nice to have such function in a library as a method like
drawFilledBox()