| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | |
| 6 | |
| 7 #ifndef CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_GENERALSTATEDATA_H_ | |
| 8 #define CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_GENERALSTATEDATA_H_ | |
| 9 | |
| 10 #include "core/fxcrt/include/fx_coordinates.h" | |
| 11 #include "core/fxcrt/include/fx_string.h" | |
| 12 #include "core/fxcrt/include/fx_system.h" | |
| 13 #include "core/fxge/include/fx_dib.h" | |
| 14 | |
| 15 class CPDF_TransferFunc; | |
| 16 class CPDF_Object; | |
| 17 | |
| 18 class CPDF_GeneralStateData { | |
| 19 public: | |
| 20 CPDF_GeneralStateData(); | |
| 21 CPDF_GeneralStateData(const CPDF_GeneralStateData& src); | |
| 22 ~CPDF_GeneralStateData(); | |
| 23 | |
| 24 void SetBlendMode(const CFX_ByteStringC& blend_mode); | |
| 25 | |
| 26 char m_BlendMode[16]; | |
| 27 int m_BlendType; | |
| 28 CPDF_Object* m_pSoftMask; | |
| 29 FX_FLOAT m_SMaskMatrix[6]; | |
| 30 FX_FLOAT m_StrokeAlpha; | |
| 31 FX_FLOAT m_FillAlpha; | |
| 32 CPDF_Object* m_pTR; | |
| 33 CPDF_TransferFunc* m_pTransferFunc; | |
| 34 CFX_Matrix m_Matrix; | |
| 35 int m_RenderIntent; | |
| 36 bool m_StrokeAdjust; | |
| 37 bool m_AlphaSource; | |
| 38 bool m_TextKnockout; | |
| 39 bool m_StrokeOP; | |
| 40 bool m_FillOP; | |
| 41 int m_OPMode; | |
| 42 CPDF_Object* m_pBG; | |
| 43 CPDF_Object* m_pUCR; | |
| 44 CPDF_Object* m_pHT; | |
| 45 FX_FLOAT m_Flatness; | |
| 46 FX_FLOAT m_Smoothness; | |
| 47 }; | |
| 48 | |
| 49 #endif // CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_GENERALSTATEDATA_H_ | |
| OLD | NEW |