pub fn to_polygon(&self) -> Polygon {
        let (obj_data, funcs) = self.get_polygon_f_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).to_polygon)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Polygon::new_from_rc(t);
            } else {
                ret_val = Polygon::new_from_owned(t);
            }
            ret_val
        }
    }
///
/// Creates and returns a QPolygon by converting each QPointF to a
/// QPoint.
///
/// **See also:** QPointF::toPoint()
Creates and returns a QPolygon by converting each QPointF to a
QPoint.


Creates and returns a QPolygon by converting each QPointF to a QPoint .
pub fn to_polygon(&self) -> Polygon {
        let (obj_data, funcs) = self.get_polygon_f_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).to_polygon)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Polygon::new_from_rc(t);
            } else {
                ret_val = Polygon::new_from_owned(t);
            }
            ret_val
        }
    }
pub fn to_polygon ( & self ) -> Polygon { let ( obj_data , funcs ) = self . get_polygon_f_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . to_polygon ) ( obj_data ) ; let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = Polygon :: new_from_rc ( t ) ; } else { ret_val = Polygon :: new_from_owned ( t ) ; } ret_val } }
Creates and returns a QPolygon by converting each QPointF to a
QPoint.
Creates and returns a QPolygon by converting each QPointF to a QPoint .
&self
&self