diff options
author | thestig <thestig@chromium.org> | 2016-06-06 17:54:29 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-06 17:54:29 -0700 |
commit | b0fcfad1412c2ddaf33c74fa4b854c3c1390a509 (patch) | |
tree | e890bd15ef68a679e06b58e42f51496a050166ed /core/fxge/include/fx_ge_win32.h | |
parent | 0abe65264043b8a1b4afbf8d3e9ce88b4a534826 (diff) | |
download | pdfium-b0fcfad1412c2ddaf33c74fa4b854c3c1390a509.tar.xz |
Remove unused PS generation code.
CFX_PSRenderer, IFX_PSOutput, CPSOutput, CPSPrinterDriver.
Also reland commit 2d63eaa.
Review-Url: https://codereview.chromium.org/2019603002
Diffstat (limited to 'core/fxge/include/fx_ge_win32.h')
-rw-r--r-- | core/fxge/include/fx_ge_win32.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/core/fxge/include/fx_ge_win32.h b/core/fxge/include/fx_ge_win32.h index b4337c117c..a6d8fbb378 100644 --- a/core/fxge/include/fx_ge_win32.h +++ b/core/fxge/include/fx_ge_win32.h @@ -22,6 +22,7 @@ typedef struct WINDIB_Open_Args_ { const FX_WCHAR* path_name; } WINDIB_Open_Args_; + class CFX_WindowsDIB : public CFX_DIBitmap { public: static CFX_ByteString GetBitmapInfo(const CFX_DIBitmap* pBitmap); @@ -62,26 +63,20 @@ class CFX_WindowsDIB : public CFX_DIBitmap { HBITMAP m_hOldBitmap; }; + class CFX_WindowsDevice : public CFX_RenderDevice { public: - static IFX_RenderDeviceDriver* CreateDriver(HDC hDC, - FX_BOOL bCmykOutput = FALSE); + static IFX_RenderDeviceDriver* CreateDriver(HDC hDC); - CFX_WindowsDevice(HDC hDC, - FX_BOOL bCmykOutput = FALSE, - FX_BOOL bForcePSOutput = FALSE, - int psLevel = 2); + explicit CFX_WindowsDevice(HDC hDC); + ~CFX_WindowsDevice(); HDC GetDC() const; - - FX_BOOL m_bForcePSOutput; - - static int m_psLevel; }; + class CFX_WinBitmapDevice : public CFX_RenderDevice { public: CFX_WinBitmapDevice(int width, int height, FXDIB_Format format); - ~CFX_WinBitmapDevice(); HDC GetDC() { return m_hDC; } |