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 _FPDF_PAGEOBJ_H_ | 7 #ifndef _FPDF_PAGEOBJ_H_ |
8 #define _FPDF_PAGEOBJ_H_ | 8 #define _FPDF_PAGEOBJ_H_ |
9 #ifndef _FPDF_RESOURCE_ | 9 #ifndef _FPDF_RESOURCE_ |
10 #include "fpdf_resource.h" | 10 #include "fpdf_resource.h" |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 void DeletePath(int layer_index); | 158 void DeletePath(int layer_index); |
159 | 159 |
160 void AppendTexts(CPDF_TextObject** pTexts, in
t count); | 160 void AppendTexts(CPDF_TextObject** pTexts, in
t count); |
161 | 161 |
162 void Transform(const CFX_AffineMatrix& matrix
); | 162 void Transform(const CFX_AffineMatrix& matrix
); |
163 }; | 163 }; |
164 class CPDF_ColorStateData : public CFX_Object | 164 class CPDF_ColorStateData : public CFX_Object |
165 { | 165 { |
166 public: | 166 public: |
167 | 167 |
168 CPDF_ColorStateData() {} | 168 CPDF_ColorStateData(): m_FillRGB(0), m_StrokeRGB(0) {} |
169 | 169 |
170 CPDF_ColorStateData(const CPDF_ColorStateData& src); | 170 CPDF_ColorStateData(const CPDF_ColorStateData& src); |
171 | 171 |
172 void Default(); | 172 void Default(); |
173 | 173 |
174 CPDF_Color m_FillColor; | 174 CPDF_Color m_FillColor; |
175 | 175 |
176 FX_DWORD m_FillRGB; | 176 FX_DWORD m_FillRGB; |
177 | 177 |
178 CPDF_Color m_StrokeColor; | 178 CPDF_Color m_StrokeColor; |
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 CFX_DIBitmap* m_pBitmap; | 714 CFX_DIBitmap* m_pBitmap; |
715 | 715 |
716 CFX_ArrayTemplate<CFX_AffineMatrix> m_Matrices; | 716 CFX_ArrayTemplate<CFX_AffineMatrix> m_Matrices; |
717 | 717 |
718 void AddMatrix(CFX_AffineMatrix& matrix); | 718 void AddMatrix(CFX_AffineMatrix& matrix); |
719 protected: | 719 protected: |
720 virtual void Transform(const CFX_AffineMatrix& matrix) {} | 720 virtual void Transform(const CFX_AffineMatrix& matrix) {} |
721 virtual void CopyData(const CPDF_PageObject* pSrcObjet) {} | 721 virtual void CopyData(const CPDF_PageObject* pSrcObjet) {} |
722 }; | 722 }; |
723 #endif | 723 #endif |
OLD | NEW |