/// 
/// **Overloads**
/// Draws a line from the current position to the point ( *x* ,
/// *y* ).
/// 
/// Adds a straight line from the current position to the given *endPoint.* After the line is drawn, the current position is updated
/// to be at the end point of the line.
/// 
/// **See also:** addPolygon()
/// addRect()
/// {QPainterPath#Composing a
/// QPainterPath}{Composing a QPainterPath}
Overloads
Draws a line from the current position to the point ( *x* ,
y* ).

Adds a straight line from the current position to the given *endPoint.* After the line is drawn, the current position is updated
to be at the end point of the line.


Overloads Draws a line from the current position to the point ( * x * y * ) . Adds a straight line from the current position to the given * endPoint . * After the line is drawn the current position is updated to be at the end point of the line .
fn line_to<P: PointFType<'a>>(&self, p: &P) -> &Self {
        let (obj_p_1, _funcs) = p.get_point_f_obj_funcs();
        let (obj_data, funcs) = self.get_painter_path_obj_funcs();
        unsafe {
            ((*funcs).line_to)(obj_data, obj_p_1);
        }
        self
    }
fn line_to < P : PointFType < ' a > > ( & self , p : & P ) -> & Self { let ( obj_p_1 , _funcs ) = p . get_point_f_obj_funcs ( ) ; let ( obj_data , funcs ) = self . get_painter_path_obj_funcs ( ) ; unsafe { ( ( * funcs ) . line_to ) ( obj_data , obj_p_1 ) ; } self }
Overloads
Draws a line from the current position to the point ( *x* ,
y* ).
Overloads Draws a line from the current position to the point ( * x * y * ) .
&self
p
&P