Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Side by Side Diff: core/fpdfapi/fpdf_page/include/cpdf_generalstatedata.h

Issue 2302683002: Make StateData private (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 FX_BOOL m_StrokeAdjust;
37 FX_BOOL m_AlphaSource;
38 FX_BOOL m_TextKnockout;
39 FX_BOOL m_StrokeOP;
40 FX_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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698