Function cgl_rs::graphics::widgets::add_oval2f
source · pub fn add_oval2f(pos_x: f32, pos_y: f32, radius_x: f32, radius_y: f32)
Expand description
Adds an oval to the current frame.
Arguments
pos_x
- Af32
representing the x-coordinate of the center of the oval.pos_y
- Af32
representing the y-coordinate of the center of the oval.radius_x
- Af32
representing the x-radius of the oval.radius_y
- Af32
representing the y-radius of the oval.