MCPcopy Create free account
hub / github.com/Logicalshift/flo_draw / circle

Method circle

canvas/src/primitives.rs:34–38  ·  view source on GitHub ↗

Draws a circle at a particular point

(&mut self, center_x: f32, center_y: f32, radius: f32)

Source from the content-addressed store, hash-verified

32 /// Draws a circle at a particular point
33 ///
34 fn circle(&mut self, center_x: f32, center_y: f32, radius: f32) {
35 for d in draw_circle(center_x, center_y, radius) {
36 self.draw(d);
37 }
38 }
39
40 ///
41 /// Draws a bezier path

Callers 15

mainFunction · 0.80
randomMethod · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
fill_simple_circleFunction · 0.80

Implementers 1

primitives.rscanvas/src/primitives.rs

Calls 2

draw_circleFunction · 0.85
drawMethod · 0.45

Tested by 3

fill_simple_circleFunction · 0.64
fill_two_circlesFunction · 0.64
draw_twiceFunction · 0.64