pub fn to_line(&self) -> Line {
        let (obj_data, funcs) = self.get_line_f_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).to_line)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Line::new_from_rc(t);
            } else {
                ret_val = Line::new_from_owned(t);
            }
            ret_val
        }
    }
///
/// Returns an integer based copy of this line.
///
/// Note that the returned line's start and end points are rounded to
/// the nearest integer.
///
/// **See also:** [`q_line_f()`]
Returns an integer based copy of this line.
Note that the returned line's start and end points are rounded to
the nearest integer.


Returns an integer based copy of this line . Note that the returned line ' s start and end points are rounded to the nearest integer .
pub fn to_line(&self) -> Line {
        let (obj_data, funcs) = self.get_line_f_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).to_line)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Line::new_from_rc(t);
            } else {
                ret_val = Line::new_from_owned(t);
            }
            ret_val
        }
    }
pub fn to_line ( & self ) -> Line { let ( obj_data , funcs ) = self . get_line_f_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . to_line ) ( obj_data ) ; let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = Line :: new_from_rc ( t ) ; } else { ret_val = Line :: new_from_owned ( t ) ; } ret_val } }
Returns an integer based copy of this line.
Returns an integer based copy of this line .
&self
&self