pub fn is_cosmetic(&self) -> bool {
        let (obj_data, funcs) = self.get_pen_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).is_cosmetic)(obj_data);
            ret_val
        }
    }
///
/// Returns `true` if the pen is cosmetic; otherwise returns `false.`
///
/// Cosmetic pens are used to draw strokes that have a constant width
/// regardless of any transformations applied to the QPainter they are
/// used with. Drawing a shape with a cosmetic pen ensures that its
/// outline will have the same thickness at different scale factors.
///
/// A zero width pen is cosmetic by default.
///
/// **See also:** [`set_cosmetic()`]
/// [`width_f()`]
Returns `true` if the pen is cosmetic; otherwise returns `false.`
Cosmetic pens are used to draw strokes that have a constant width
regardless of any transformations applied to the QPainter they are
used with. Drawing a shape with a cosmetic pen ensures that its
outline will have the same thickness at different scale factors.

A zero width pen is cosmetic by default.


Returns ` true ` if the pen is cosmetic ; otherwise returns ` false . ` Cosmetic pens are used to draw strokes that have a constant width regardless of any transformations applied to the QPainter they are used with . Drawing a shape with a cosmetic pen ensures that its outline will have the same thickness at different scale factors . A zero width pen is cosmetic by default .
pub fn is_cosmetic(&self) -> bool {
        let (obj_data, funcs) = self.get_pen_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).is_cosmetic)(obj_data);
            ret_val
        }
    }
pub fn is_cosmetic ( & self ) -> bool { let ( obj_data , funcs ) = self . get_pen_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . is_cosmetic ) ( obj_data ) ; ret_val } }
Returns `true` if the pen is cosmetic; otherwise returns `false.`
Cosmetic pens are used to draw strokes that have a constant width
regardless of any transformations applied to the QPainter they are
used with.
Returns ` true ` if the pen is cosmetic ; otherwise returns ` false . ` Cosmetic pens are used to draw strokes that have a constant width regardless of any transformations applied to the QPainter they are used with .
&self
&self