[poppler] poppler/qt4/tests: test-poppler-qt4.cpp,1.4,1.5
Albert Astals Cid
aacid at freedesktop.org
Sat Dec 3 13:35:49 PST 2005
- Previous message: [poppler] poppler: ChangeLog,1.238,1.239
- Next message: [poppler] poppler/qt4/src: .cvsignore, 1.1, 1.2 Doxyfile, 1.2,
1.3 Mainpage.dox, NONE, 1.1 poppler-page.cc, 1.7,
1.8 poppler-qt4.h, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/poppler/poppler/qt4/tests
In directory gabe:/tmp/cvs-serv569/qt4/tests
Modified Files:
test-poppler-qt4.cpp
Log Message:
More docs for the Qt4 frontend, patch by Stefan Kebekus
Index: test-poppler-qt4.cpp
===================================================================
RCS file: /cvs/poppler/poppler/qt4/tests/test-poppler-qt4.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- test-poppler-qt4.cpp 28 Nov 2005 22:50:20 -0000 1.4
+++ test-poppler-qt4.cpp 3 Dec 2005 21:35:46 -0000 1.5
@@ -39,12 +39,13 @@
if (useArthur)
{
qDebug() << "Displaying page using Arthur backend: " << m_currentPage;
- page->renderToPixmap(pixmap);
+ page->renderToPixmap(pixmap, 72.0, 72.0);
}
else
{
qDebug() << "Displaying page using Splash backend: " << m_currentPage;
- page->splashRenderToPixmap(&pixmap, -1, -1, 0, 0);
+ delete pixmap;
+ pixmap = page->splashRenderToPixmap(-1, -1, 0, 0, 72.0, 72.0);
}
update();
delete page;
- Previous message: [poppler] poppler: ChangeLog,1.238,1.239
- Next message: [poppler] poppler/qt4/src: .cvsignore, 1.1, 1.2 Doxyfile, 1.2,
1.3 Mainpage.dox, NONE, 1.1 poppler-page.cc, 1.7,
1.8 poppler-qt4.h, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the poppler
mailing list