Draws a circle at a particular point
(&mut self, center_x: f32, center_y: f32, radius: f32)
| 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 |