pub fn from_polar(length: f32, angle: f32) -> LineF<'a> {
        let (obj_data, funcs) = unsafe {
            (
                ::std::ptr::null(),
                (*((*rute_ffi_get()).get_line_f)(::std::ptr::null()).all_funcs).line_f_funcs,
            )
        };
        unsafe {
            let ret_val = ((*funcs).from_polar)(obj_data, length, angle);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = LineF::new_from_rc(t);
            } else {
                ret_val = LineF::new_from_owned(t);
            }
            ret_val
        }
    }
///
/// Returns a QLineF with the given *length* and *angle.*
///
/// The first point of the line will be on the origin.
///
/// Positive values for the angles mean counter-clockwise while negative values
/// mean the clockwise direction. Zero degrees is at the 3 o'clock position.
Returns a QLineF with the given *length* and *angle.
The first point of the line will be on the origin.

Positive values for the angles mean counter-clockwise while negative values
mean the clockwise direction. Zero degrees is at the 3 o'clock position.
Returns a QLineF with the given * length * and * angle . The first point of the line will be on the origin . Positive values for the angles mean counter - clockwise while negative values mean the clockwise direction . Zero degrees is at the 3 o ' clock position .
pub fn from_polar(length: f32, angle: f32) -> LineF<'a> {
        let (obj_data, funcs) = unsafe {
            (
                ::std::ptr::null(),
                (*((*rute_ffi_get()).get_line_f)(::std::ptr::null()).all_funcs).line_f_funcs,
            )
        };
        unsafe {
            let ret_val = ((*funcs).from_polar)(obj_data, length, angle);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = LineF::new_from_rc(t);
            } else {
                ret_val = LineF::new_from_owned(t);
            }
            ret_val
        }
    }
pub fn from_polar ( length : f32 , angle : f32 ) -> LineF < ' a > { let ( obj_data , funcs ) = unsafe { ( :: std :: ptr :: null ( ) , ( * ( ( * rute_ffi_get ( ) ) . get_line_f ) ( :: std :: ptr :: null ( ) ) . all_funcs ) . line_f_funcs , ) } ; unsafe { let ret_val = ( ( * funcs ) . from_polar ) ( obj_data , length , angle ) ; let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = LineF :: new_from_rc ( t ) ; } else { ret_val = LineF :: new_from_owned ( t ) ; } ret_val } }
Returns a QLineF with the given *length* and *angle.
Returns a QLineF with the given * length * and * angle .
length
f32
angle
f32
length
f32
angle
f32