| 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_FXGE_INCLUDE_FX_GE_H_ | 7 #ifndef CORE_FXGE_INCLUDE_FX_GE_H_ |
| 8 #define CORE_FXGE_INCLUDE_FX_GE_H_ | 8 #define CORE_FXGE_INCLUDE_FX_GE_H_ |
| 9 | 9 |
| 10 #include "core/fxge/include/fx_dib.h" | 10 #include "core/fxge/include/fx_dib.h" |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 CFX_DIBitmap* pOriDevice, | 405 CFX_DIBitmap* pOriDevice, |
| 406 bool bGroupKnockout); | 406 bool bGroupKnockout); |
| 407 bool Create(int width, | 407 bool Create(int width, |
| 408 int height, | 408 int height, |
| 409 FXDIB_Format format, | 409 FXDIB_Format format, |
| 410 CFX_DIBitmap* pOriDevice); | 410 CFX_DIBitmap* pOriDevice); |
| 411 | 411 |
| 412 #ifdef _SKIA_SUPPORT_ | 412 #ifdef _SKIA_SUPPORT_ |
| 413 bool AttachRecorder(SkPictureRecorder* recorder); | 413 bool AttachRecorder(SkPictureRecorder* recorder); |
| 414 SkPictureRecorder* CreateRecorder(int size_x, int size_y); | 414 SkPictureRecorder* CreateRecorder(int size_x, int size_y); |
| 415 void PreMultiply(); |
| 415 #endif | 416 #endif |
| 416 | 417 |
| 417 protected: | 418 protected: |
| 418 bool m_bOwnedBitmap; | 419 bool m_bOwnedBitmap; |
| 419 }; | 420 }; |
| 420 | 421 |
| 421 class IFX_RenderDeviceDriver { | 422 class IFX_RenderDeviceDriver { |
| 422 public: | 423 public: |
| 423 static IFX_RenderDeviceDriver* CreateFxgeDriver( | 424 static IFX_RenderDeviceDriver* CreateFxgeDriver( |
| 424 CFX_DIBitmap* pBitmap, | 425 CFX_DIBitmap* pBitmap, |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 650 FX_BOOL m_bCmykOutput; | 651 FX_BOOL m_bCmykOutput; |
| 651 FX_BOOL m_bColorSet; | 652 FX_BOOL m_bColorSet; |
| 652 uint32_t m_LastColor; | 653 uint32_t m_LastColor; |
| 653 FX_RECT m_ClipBox; | 654 FX_RECT m_ClipBox; |
| 654 CFX_ArrayTemplate<CPSFont*> m_PSFontList; | 655 CFX_ArrayTemplate<CPSFont*> m_PSFontList; |
| 655 CFX_ArrayTemplate<FX_RECT> m_ClipBoxStack; | 656 CFX_ArrayTemplate<FX_RECT> m_ClipBoxStack; |
| 656 FX_BOOL m_bInited; | 657 FX_BOOL m_bInited; |
| 657 }; | 658 }; |
| 658 | 659 |
| 659 #endif // CORE_FXGE_INCLUDE_FX_GE_H_ | 660 #endif // CORE_FXGE_INCLUDE_FX_GE_H_ |
| OLD | NEW |