Fixed cap and join styles when printing to native Windows printers.
Fixed cap and join styles when printing to native Windows printers.

Line and polygon strokes did not respect the join/cap styles set
on a painter.

Task-number: 256914
Reviewed-by: Samuel

KDE/qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,KDE/qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,RLovelett/qt,igor-sfdc/qt-wk,RLovelett/qt,KDE/qt,pruiz/wkhtmltopdf-qt,radekp/qt,RLovelett/qt,igor-sfdc/qt-wk,RLovelett/qt,radekp/qt,igor-sfdc/qt-wk,RLovelett/qt,RLovelett/qt,radekp/qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,radekp/qt,KDE/qt,radekp/qt,pruiz/wkhtmltopdf-qt,KDE/qt,radekp/qt,radekp/qt,radekp/qt,KDE/qt,KDE/qt,igor-sfdc/qt-wk,RLovelett/qt,radekp/qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,RLovelett/qt,RLovelett/qt,KDE/qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,radekp/qt,igor-sfdc/qt-wk