258
258
psOut.setOutputFileName(tmpFile.fileName());
259
259
psOut.setOutputFormat(QPrinter::PostScriptFormat);
262
263
// painting the pixmap to the "printer" which is a file
265
p.setClipRect( 0, 0, image.width(), image.height());
266
265
p.drawImage( QPoint( 0, 0 ), image );