diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-01-03 16:39:18 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-03 22:11:40 +0000 |
commit | 45da0f2d84c97a9856492265a1fc706d04bdfccd (patch) | |
tree | 94f0e37415c91fdd7b91d22037e2d7a421e30986 /xfa/fxfa/parser/cxfa_filldata.h | |
parent | 8afa22d5701a6c47b3f34267a2c52948efc3d301 (diff) | |
download | pdfium-45da0f2d84c97a9856492265a1fc706d04bdfccd.tar.xz |
Fold CXFA_FillData into CXFA_Fill
This CL removes the CXFA_FillData wrapper and puts the code directly in
CXFA_Fill.
Change-Id: I44ae8b53978b659480a4bb32719d086c7b91b49b
Reviewed-on: https://pdfium-review.googlesource.com/22210
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_filldata.h')
-rw-r--r-- | xfa/fxfa/parser/cxfa_filldata.h | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/xfa/fxfa/parser/cxfa_filldata.h b/xfa/fxfa/parser/cxfa_filldata.h deleted file mode 100644 index 94e840e230..0000000000 --- a/xfa/fxfa/parser/cxfa_filldata.h +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2016 PDFium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com - -#ifndef XFA_FXFA_PARSER_CXFA_FILLDATA_H_ -#define XFA_FXFA_PARSER_CXFA_FILLDATA_H_ - -#include "core/fxcrt/fx_system.h" -#include "core/fxge/fx_dib.h" -#include "xfa/fxfa/parser/cxfa_datadata.h" - -class CXFA_Linear; -class CXFA_Node; -class CXFA_Pattern; -class CXFA_Radial; -class CXFA_Stipple; - -class CXFA_FillData : public CXFA_DataData { - public: - explicit CXFA_FillData(CXFA_Node* pNode); - ~CXFA_FillData() override; - - bool IsVisible() const; - - FX_ARGB GetColor(bool bText) const; - void SetColor(FX_ARGB color); - - XFA_Element GetFillType() const; - - XFA_AttributeEnum GetPatternType() const; - FX_ARGB GetPatternColor() const; - - XFA_AttributeEnum GetLinearType() const; - FX_ARGB GetLinearColor() const; - - int32_t GetStippleRate() const; - FX_ARGB GetStippleColor() const; - - bool IsRadialToEdge() const; - FX_ARGB GetRadialColor() const; - - private: - CXFA_Stipple* GetStipple() const; - CXFA_Radial* GetRadial() const; - CXFA_Linear* GetLinear() const; - CXFA_Pattern* GetPattern() const; -}; - -#endif // XFA_FXFA_PARSER_CXFA_FILLDATA_H_ |