00001
00002
00003
00004
00005 #if defined(_WIN32) && !defined(WINCE)
00006
00007 #ifndef H_CPPPDFDCEX
00008 #define H_CPPPDFDCEX
00009
00010 #include <PDF/PDFDoc.h>
00011 #include <C/PDF/TRN_PDFDCEX.h>
00012 #include <SDF/Obj.h>
00013 #include <Windows.h>
00014
00015 namespace pdftron{
00016 namespace PDF {
00017
00063 class PDFDCEX
00064 {
00065 public:
00066
00070 PDFDCEX ();
00071
00075 ~PDFDCEX ();
00076
00085 HDC Begin( PDFDoc & in_pdfdoc );
00086
00094 void End();
00095
00096 UInt32 GetDPI();
00097
00098 private:
00099 TRN_PDFDCEX m_pdfDcEx;
00100 };
00101
00102 #include <Impl/PDFDCEX.inl>
00103
00104 };
00105 };
00106
00107 #endif // H_CPPPDFDCEX
00108 #endif // defined(_WIN32) && !defined(WINCE)