/// 
/// Connects the given *path* to *this* path by adding a line from the
/// last element of this path to the first element of the given path.
/// 
/// **See also:** addPath()
/// {QPainterPath#Composing a QPainterPath}{Composing
/// a QPainterPath}
Connects the given *path* to *this* path by adding a line from the
last element of this path to the first element of the given path.


Connects the given * path * to * this * path by adding a line from the last element of this path to the first element of the given path .
fn connect_path<P: PainterPathType<'a>>(&self, path: &P) -> &Self {
        let (obj_path_1, _funcs) = path.get_painter_path_obj_funcs();
        let (obj_data, funcs) = self.get_painter_path_obj_funcs();
        unsafe {
            ((*funcs).connect_path)(obj_data, obj_path_1);
        }
        self
    }
fn connect_path < P : PainterPathType < ' a > > ( & self , path : & P ) -> & Self { let ( obj_path_1 , _funcs ) = path . get_painter_path_obj_funcs ( ) ; let ( obj_data , funcs ) = self . get_painter_path_obj_funcs ( ) ; unsafe { ( ( * funcs ) . connect_path ) ( obj_data , obj_path_1 ) ; } self }
Connects the given *path* to *this* path by adding a line from the
last element of this path to the first element of the given path.
Connects the given * path * to * this * path by adding a line from the last element of this path to the first element of the given path .
&self
path
&P