/// 
/// Adds a rectangle *r* with rounded corners to the path.
/// 
/// The *xRnd* and *yRnd* arguments specify how rounded the corners
/// should be. 0 is angled corners, 99 is maximum roundedness.
/// 
/// **See also:** addRoundedRect()
/// 
/// **Overloads**
/// Adds a rounded rectangle, *rect,* to the path.
/// 
/// The *roundness* argument specifies uniform roundness for the
/// rectangle. Vertical and horizontal roundness factors will be
/// adjusted accordingly to act uniformly around both axes. Use this
/// method if you want a rectangle equally rounded across both the X and
/// Y axis.
/// 
/// **See also:** addRoundedRect()
/// 
/// **Overloads**
/// Adds a rectangle with rounded corners to the path. The rectangle
/// is constructed from *x,* *y,* and the width and height *w*
/// and *h.*
/// 
/// The *xRnd* and *yRnd* arguments specify how rounded the corners
/// should be. 0 is angled corners, 99 is maximum roundedness.
/// 
/// **See also:** addRoundedRect()
/// 
/// **Overloads**
/// Adds a rounded rectangle to the path, defined by the coordinates *x* and *y* with the specified *width* and *height.*
/// 
/// The *roundness* argument specifies uniform roundness for the
/// rectangle. Vertical and horizontal roundness factors will be
/// adjusted accordingly to act uniformly around both axes. Use this
/// method if you want a rectangle equally rounded across both the X and
/// Y axis.
/// 
/// **See also:** addRoundedRect()
Adds a rectangle *r* with rounded corners to the path.
The *xRnd* and *yRnd* arguments specify how rounded the corners
should be. 0 is angled corners, 99 is maximum roundedness.



Overloads
Adds a rounded rectangle, *rect,* to the path.

The *roundness* argument specifies uniform roundness for the
rectangle. Vertical and horizontal roundness factors will be
adjusted accordingly to act uniformly around both axes. Use this
method if you want a rectangle equally rounded across both the X and
Y axis.



Overloads
Adds a rectangle with rounded corners to the path.

The *xRnd* and *yRnd* arguments specify how rounded the corners
should be. 0 is angled corners, 99 is maximum roundedness.





The *roundness* argument specifies uniform roundness for the
rectangle. Vertical and horizontal roundness factors will be
adjusted accordingly to act uniformly around both axes. Use this
method if you want a rectangle equally rounded across both the X and
Y axis.


Adds a rectangle * r * with rounded corners to the path . The * xRnd * and * yRnd * arguments specify how rounded the corners should be . 0 is angled corners 99 is maximum roundedness . Overloads Adds a rounded rectangle * rect * to the path . The * roundness * argument specifies uniform roundness for the rectangle . Vertical and horizontal roundness factors will be adjusted accordingly to act uniformly around both axes . Use this method if you want a rectangle equally rounded across both the X and Y axis . Overloads Adds a rectangle with rounded corners to the path . The * xRnd * and * yRnd * arguments specify how rounded the corners should be . 0 is angled corners 99 is maximum roundedness . The * roundness * argument specifies uniform roundness for the rectangle . Vertical and horizontal roundness factors will be adjusted accordingly to act uniformly around both axes . Use this method if you want a rectangle equally rounded across both the X and Y axis .
fn add_round_rect(&self, x: f32, y: f32, w: f32, h: f32, roundness: i32) -> &Self {
        let (obj_data, funcs) = self.get_painter_path_obj_funcs();
        unsafe {
            ((*funcs).add_round_rect)(obj_data, x, y, w, h, roundness);
        }
        self
    }
fn add_round_rect ( & self , x : f32 , y : f32 , w : f32 , h : f32 , roundness : i32 ) -> & Self { let ( obj_data , funcs ) = self . get_painter_path_obj_funcs ( ) ; unsafe { ( ( * funcs ) . add_round_rect ) ( obj_data , x , y , w , h , roundness ) ; } self }
Adds a rectangle *r* with rounded corners to the path.
Adds a rectangle * r * with rounded corners to the path .
&self
x
f32
y
f32
w
f32
h
f32
roundness
i32