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 - A f32 representing the x-coordinate of the center of the oval.
  • pos_y - A f32 representing the y-coordinate of the center of the oval.
  • radiusx - A f32 representing the x-radius of the oval.
  • radiusy - A f32 representing the y-radius of the oval.
  • resolution - An i32 representing the number of segments used to approximate the oval.