pub fn draw_rects_2<R: RectFTrait<'a>>(&self, rects: &R, rect_count: i32) -> &Self {
        let (obj_rects_1, _funcs) = rects.get_rect_f_obj_funcs();

        let (obj_data, funcs) = self.get_paint_engine_obj_funcs();
        unsafe {
            ((*funcs).draw_rects_2)(obj_data, obj_rects_1, rect_count);
        }
        self
    }
///
/// **Overloads**
/// The default implementation converts the first *rectCount*
/// rectangles in the buffer *rects* to a QRectF and calls the
/// floating point version of this function.
///
/// Draws the first *rectCount* rectangles in the buffer *rects.* The default implementation of this function calls drawPath()
/// or drawPolygon() depending on the feature set of the paint engine.
Overloads
The default implementation converts the first *rectCount
rectangles in the buffer *rects* to a QRectF and calls the
floating point version of this function.

Draws the first *rectCount* rectangles in the buffer *rects.* The default implementation of this function calls drawPath()
or drawPolygon() depending on the feature set of the paint engine.
Overloads The default implementation converts the first * rectCount rectangles in the buffer * rects * to a QRectF and calls the floating point version of this function . Draws the first * rectCount * rectangles in the buffer * rects . * The default implementation of this function calls drawPath () or drawPolygon () depending on the feature set of the paint engine .
pub fn draw_rects_2<R: RectFTrait<'a>>(&self, rects: &R, rect_count: i32) -> &Self {
        let (obj_rects_1, _funcs) = rects.get_rect_f_obj_funcs();
        let (obj_data, funcs) = self.get_paint_engine_obj_funcs();
        unsafe {
            ((*funcs).draw_rects_2)(obj_data, obj_rects_1, rect_count);
        }
        self
    }
pub fn draw_rects_2 < R : RectFTrait < ' a > > ( & self , rects : & R , rect_count : i32 ) -> & Self { let ( obj_rects_1 , _funcs ) = rects . get_rect_f_obj_funcs ( ) ; let ( obj_data , funcs ) = self . get_paint_engine_obj_funcs ( ) ; unsafe { ( ( * funcs ) . draw_rects_2 ) ( obj_data , obj_rects_1 , rect_count ) ; } self }
Overloads
The default implementation converts the first *rectCount
rectangles in the buffer *rects* to a QRectF and calls the
floating point version of this function.
Overloads The default implementation converts the first * rectCount rectangles in the buffer * rects * to a QRectF and calls the floating point version of this function .
&self
rects
&R
rect_count
i32
&self
rects
&R
rect_count
i32