blob: 9f604c7a4c24c538f1fe784fbc3f66c82e25f4e4 [file] [log] [blame]
kumarashishg826308d2023-06-23 13:21:22 +00001// Copyright 2016 The PDFium Authors
Philip P. Moltmann4d3acf42017-03-20 11:05:52 -07002// 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_PAGE_CPDF_GRAPHICSTATES_H_
8#define CORE_FPDFAPI_PAGE_CPDF_GRAPHICSTATES_H_
9
10#include "core/fpdfapi/page/cpdf_clippath.h"
11#include "core/fpdfapi/page/cpdf_colorstate.h"
12#include "core/fpdfapi/page/cpdf_generalstate.h"
13#include "core/fpdfapi/page/cpdf_textstate.h"
14#include "core/fxge/cfx_graphstate.h"
15
16class CPDF_GraphicStates {
17 public:
18 CPDF_GraphicStates();
19 virtual ~CPDF_GraphicStates();
20
21 void CopyStates(const CPDF_GraphicStates& src);
22 void DefaultStates();
23
24 CPDF_ClipPath m_ClipPath;
25 CFX_GraphState m_GraphState;
26 CPDF_ColorState m_ColorState;
27 CPDF_TextState m_TextState;
28 CPDF_GeneralState m_GeneralState;
29};
30
31#endif // CORE_FPDFAPI_PAGE_CPDF_GRAPHICSTATES_H_