27 PrintingParameters::PrintingParameters()
40 instance()->scaleFactor = scaleFactor;
45 instance()->scaleFactor = 1.0;
50 if ( instance()->scaleFactor == 1.0 )
54 resultPen.setWidthF( resultPen.widthF() * instance()->scaleFactor );
55 if ( resultPen.widthF() == 0.0 )
56 resultPen.setWidthF( instance()->scaleFactor );
static void setScaleFactor(const qreal scaleFactor)
PrintingParameters stores the scale factor which lines has to been scaled with when printing...
static void resetScaleFactor()
static QPen scalePen(const QPen &pen)