From 69effce44e437ed592990d4d39378bc47f7a54b4 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 12 Nov 2008 14:57:30 +0000 Subject: [PATCH] Improved filepath handling, and increased the image resolution for better rendering quality --- examples/osgpdf/osgpdf.cpp | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/examples/osgpdf/osgpdf.cpp b/examples/osgpdf/osgpdf.cpp index 79b9b6031..240138819 100644 --- a/examples/osgpdf/osgpdf.cpp +++ b/examples/osgpdf/osgpdf.cpp @@ -6,6 +6,8 @@ #include #include +#include +#include #include #include @@ -93,20 +95,33 @@ class PdfImage : public CarioImage bool open(const std::string& filename) { osg::notify(osg::NOTICE)<<"open("<