Function cgl_rs::graphics::widgets::add_circle2fr
source · pub fn add_circle2fr(pos_x: f32, pos_y: f32, radius: f32, res: i32)
Expand description
Adds a circle to the current frame.
Arguments
pos_x
- Af32
representing the x-coordinate of the center of the circle.pos_y
- Af32
representing the y-coordinate of the center of the circle.radius
- Af32
representing the radius of the circle.res
- Ani32
representing the number of segments used to approximate the circle.