Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

qpdfwriter and qpainter

$
0
0
Hello at all i have write this few line QPdfWriter pdf(nomefile+".pdf"); pdf.setPageSize(QPagedPaintDevice::A4); QPainter painter(&pdf); QFont carattere("Arial"); carattere.setPixelSize(18); painter.setFont(carattere); painter.drawText(700,-100,"Att.n  "+customer.trimmed()); but when i print the pdf page i get a very small text located approx in the centre of the page what is wrong? Thanks Luca

Viewing all articles
Browse latest Browse all 18427

Trending Articles