Function cgl_rs::graphics::widgets::add_oval2fr
source · pub fn add_oval2fr(
pos_x: f32,
pos_y: f32,
radiusx: f32,
radiusy: f32,
resolution: i32
)
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.radiusx
- Af32
representing the x-radius of the oval.radiusy
- Af32
representing the y-radius of the oval.resolution
- Ani32
representing the number of segments used to approximate the oval.