Function framebuffer_drawer::draw_circle
source · pub fn draw_circle<P: Pixel>(
framebuffer: &mut Framebuffer<P>,
center: Coord,
r: usize,
pixel: P
)
Expand description
Draw a circle in the framebuffer. coordinate
is the position of the center of the circle relative to the top-left corner of the framebuffer and r
is the radius