///
/// Reimplement this function to update the state of a paint engine.
///
/// When implemented, this function is responsible for checking the
/// paint engine's current *state* and update the properties that are
/// changed. Use the QPaintEngineState::state() function to find out
/// which properties that must be updated, then use the corresponding
/// [get function](GetFunction)
/// to retrieve the current values for
/// the given properties.
///
/// **See also:** [`PaintEngineState`]
Reimplement this function to update the state of a paint engine.
When implemented, this function is responsible for checking the
paint engine's current *state* and update the properties that are
changed. Use the QPaintEngineState::state() function to find out
which properties that must be updated, then use the corresponding
[get function](GetFunction)
to retrieve the current values for
the given properties.


Reimplement this function to update the state of a paint engine . When implemented this function is responsible for checking the paint engine ' s current * state * and update the properties that are changed . Use the QPaintEngineState :: state () function to find out which properties that must be updated then use the corresponding [ get function ] ( GetFunction ) to retrieve the current values for the given properties .
pub fn update_state<P: PaintEngineStateTrait<'a>>(&self, state: &P) -> &Self {
        let (obj_state_1, _funcs) = state.get_paint_engine_state_obj_funcs();
        let (obj_data, funcs) = self.get_paint_engine_obj_funcs();
        unsafe {
            ((*funcs).update_state)(obj_data, obj_state_1);
        }
        self
    }
pub fn update_state < P : PaintEngineStateTrait < ' a > > ( & self , state : & P ) -> & Self { let ( obj_state_1 , _funcs ) = state . get_paint_engine_state_obj_funcs ( ) ; let ( obj_data , funcs ) = self . get_paint_engine_obj_funcs ( ) ; unsafe { ( ( * funcs ) . update_state ) ( obj_data , obj_state_1 ) ; } self }
Reimplement this function to update the state of a paint engine.
Reimplement this function to update the state of a paint engine .
&self
state
&P