///
/// Returns the brush used to fill strokes generated with this pen.
Returns the brush used to fill strokes generated with this pen.
Returns the brush used to fill strokes generated with this pen .
pub fn brush(&self) -> Brush {
        let (obj_data, funcs) = self.get_pen_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).brush)(obj_data);
            let t = ret_val;
            let ret_val;
            if t.host_data != ::std::ptr::null() {
                ret_val = Brush::new_from_rc(t);
            } else {
                ret_val = Brush::new_from_owned(t);
            }
            ret_val
        }
    }
pub fn brush ( & self ) -> Brush { let ( obj_data , funcs ) = self . get_pen_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . brush ) ( obj_data ) ; let t = ret_val ; let ret_val ; if t . host_data != :: std :: ptr :: null ( ) { ret_val = Brush :: new_from_rc ( t ) ; } else { ret_val = Brush :: new_from_owned ( t ) ; } ret_val } }
Returns the brush used to fill strokes generated with this pen.
Returns the brush used to fill strokes generated with this pen .
&self