A library that handles maths, animations, conversions, and drawing.
You can develop the 2D stuff on your desktop, see the Readme.md in examples/
.
This speeds up ui development by a lot.
1. Can you explain what's the variables cx,cy,start,stop and lineradius ?
`void Graphics2D::drawArc(int32_t cx, int32_t cy, float start, float stop, uint16_t steps, uint16_t radius, uint8_t lineRadius, uint16_t color)`cx,cy
: the center coordinates of the arcstart, stop
: the start and stop angles (0 is on top of the circle)steps
: number of segments used to draw the arc (bigger is smoother but slower)radius
: width/2 of the arclineRadius
: width of the line defined as a radius of a circle drawing the linecolor
: 16 bytes value of the color, checkrgb565(uint8_t red, uint8_t green, uint8_t blue)
to create colors or use consts likeBLACK
,WHITE
, ...