pub fn background_brush(&self) -> Brush {
        let (obj_data, funcs) = self.get_paint_engine_state_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).background_brush)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Brush::new_from_rc(t);
            } else {
                ret_val = Brush::new_from_owned(t);
            }
            ret_val
        }
    }
///
/// Returns the background brush in the current paint engine state.
///
/// This variable should only be used when the state() returns a
/// combination which includes the QPaintEngine::DirtyBackground flag.
///
/// **See also:** state()
/// QPaintEngine::updateState()
Returns the background brush in the current paint engine state.
This variable should only be used when the state() returns a
combination which includes the QPaintEngine::DirtyBackground flag.

See also:** state()
QPaintEngine::updateState()
Returns the background brush in the current paint engine state . This variable should only be used when the state () returns a combination which includes the QPaintEngine :: DirtyBackground flag . See also : ** state () QPaintEngine :: updateState ()
pub fn background_brush(&self) -> Brush {
        let (obj_data, funcs) = self.get_paint_engine_state_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).background_brush)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Brush::new_from_rc(t);
            } else {
                ret_val = Brush::new_from_owned(t);
            }
            ret_val
        }
    }
pub fn background_brush ( & self ) -> Brush { let ( obj_data , funcs ) = self . get_paint_engine_state_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . background_brush ) ( obj_data ) ; let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = Brush :: new_from_rc ( t ) ; } else { ret_val = Brush :: new_from_owned ( t ) ; } ret_val } }
Returns the background brush in the current paint engine state.
Returns the background brush in the current paint engine state .
&self
&self