[Kde-imaging] Can someone explain to me how to fix this?
Angelo Naselli
anaselli at linux.it
Thu Aug 27 23:27:15 CEST 2009
pageSize is QSizeF as well as size.
size is 8.5"x11" multiplied by 25.4 (to get mm).
pageSize is got from QPrintDialog and it's letter page
The test code is:
if (size.height() > pageSize.height() ||
size.width() > pageSize.width())
{
kDebug(51000) << "skipping size " << size << " page size " << pageSize;
}
Output is
skipping size QSizeF(215.9, 279.4) page size QSizeF(215.9, 279.4)
Thanks
--
Angelo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-imaging/attachments/20090827/89a7f5a5/attachment.sig
More information about the Kde-imaging
mailing list