OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef CORE_SRC_FXGE_WIN32_WIN32_INT_H_ | 7 #ifndef CORE_SRC_FXGE_WIN32_WIN32_INT_H_ |
8 #define CORE_SRC_FXGE_WIN32_WIN32_INT_H_ | 8 #define CORE_SRC_FXGE_WIN32_WIN32_INT_H_ |
9 | 9 |
10 #include "core/include/fxge/fx_ge.h" | 10 #include "core/include/fxge/fx_ge.h" |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 FX_BOOL m_bSupportROP; | 270 FX_BOOL m_bSupportROP; |
271 }; | 271 }; |
272 | 272 |
273 class CPSOutput : public IFX_PSOutput { | 273 class CPSOutput : public IFX_PSOutput { |
274 public: | 274 public: |
275 explicit CPSOutput(HDC hDC); | 275 explicit CPSOutput(HDC hDC); |
276 ~CPSOutput() override; | 276 ~CPSOutput() override; |
277 | 277 |
278 // IFX_PSOutput | 278 // IFX_PSOutput |
279 void Release() override { delete this; } | 279 void Release() override { delete this; } |
280 void OutputPS(const FX_CHAR* string, int len) override; | 280 void OutputPS(const FX_CHAR* str, int len) override; |
281 | 281 |
282 void Init(); | 282 void Init(); |
283 | 283 |
284 HDC m_hDC; | 284 HDC m_hDC; |
285 FX_CHAR* m_pBuf; | 285 FX_CHAR* m_pBuf; |
286 }; | 286 }; |
287 | 287 |
288 class CPSPrinterDriver : public IFX_RenderDeviceDriver { | 288 class CPSPrinterDriver : public IFX_RenderDeviceDriver { |
289 public: | 289 public: |
290 CPSPrinterDriver(); | 290 CPSPrinterDriver(); |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 int m_HorzSize, m_VertSize; | 360 int m_HorzSize, m_VertSize; |
361 CPSOutput* m_pPSOutput; | 361 CPSOutput* m_pPSOutput; |
362 CFX_PSRenderer m_PSRenderer; | 362 CFX_PSRenderer m_PSRenderer; |
363 }; | 363 }; |
364 void _Color2Argb(FX_ARGB& argb, | 364 void _Color2Argb(FX_ARGB& argb, |
365 FX_DWORD color, | 365 FX_DWORD color, |
366 int alpha_flag, | 366 int alpha_flag, |
367 void* pIccTransform); | 367 void* pIccTransform); |
368 | 368 |
369 #endif // CORE_SRC_FXGE_WIN32_WIN32_INT_H_ | 369 #endif // CORE_SRC_FXGE_WIN32_WIN32_INT_H_ |
OLD | NEW |