pub fn background_mode(&self) -> BGMode {
        let (obj_data, funcs) = self.get_painter_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).background_mode)(obj_data);
            let ret_val = { transmute::<u32, BGMode>(ret_val) };
            ret_val
        }
    }
///
/// Returns the current background mode.
///
/// **See also:** [`set_background_mode()`]
/// {QPainter#Settings}{Settings}
Returns the current background mode.
Returns the current background mode .
pub fn background_mode(&self) -> BGMode {
        let (obj_data, funcs) = self.get_painter_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).background_mode)(obj_data);
            let ret_val = { transmute::<u32, BGMode>(ret_val) };
            ret_val
        }
    }
pub fn background_mode ( & self ) -> BGMode { let ( obj_data , funcs ) = self . get_painter_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . background_mode ) ( obj_data ) ; let ret_val = { transmute :: < u32 , BGMode > ( ret_val ) } ; ret_val } }
Returns the current background mode.
Returns the current background mode .
&self
&self