Chromium Code Reviews| 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_RESOURCE_ | 7 #ifndef _FPDF_RESOURCE_ |
| 8 #define _FPDF_RESOURCE_ | 8 #define _FPDF_RESOURCE_ |
| 9 #ifndef _FPDF_PARSER_ | 9 #ifndef _FPDF_PARSER_ |
| 10 #include "fpdf_parser.h" | 10 #include "fpdf_parser.h" |
| (...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 732 virtual ~CPDF_Pattern(); | 732 virtual ~CPDF_Pattern(); |
| 733 | 733 |
| 734 CPDF_Object* m_pPatternObj; | 734 CPDF_Object* m_pPatternObj; |
| 735 | 735 |
| 736 int m_PatternType; | 736 int m_PatternType; |
| 737 | 737 |
| 738 CFX_AffineMatrix m_Pattern2Form; | 738 CFX_AffineMatrix m_Pattern2Form; |
| 739 CFX_AffineMatrix m_ParentMatrix; | 739 CFX_AffineMatrix m_ParentMatrix; |
| 740 | 740 |
| 741 CPDF_Document* m_pDocument; | 741 CPDF_Document* m_pDocument; |
| 742 | 742 void SetForceClear(FX_BOOL bForceClear) { m_bForceClear = bForceClear ; } |
|
Tom Sepez
2014/09/16 19:18:06
nit: prefer functions to come before members (i.e.
| |
| 743 protected: | 743 protected: |
| 744 | 744 FX_BOOL m_bForceClear; |
| 745 CPDF_Pattern(const CFX_AffineMatrix* pParentMatrix); | 745 CPDF_Pattern(const CFX_AffineMatrix* pParentMatrix); |
|
Tom Sepez
2014/09/16 19:18:06
nit: Similarly, swap these two lines.
| |
| 746 }; | 746 }; |
| 747 | 747 |
| 748 class CPDF_TilingPattern : public CPDF_Pattern | 748 class CPDF_TilingPattern : public CPDF_Pattern |
| 749 { | 749 { |
| 750 public: | 750 public: |
| 751 | 751 |
| 752 CPDF_TilingPattern(CPDF_Document* pDoc, CPDF_Object* pPatternObj, const CFX_ AffineMatrix* parentMatrix); | 752 CPDF_TilingPattern(CPDF_Document* pDoc, CPDF_Object* pPatternObj, const CFX_ AffineMatrix* parentMatrix); |
| 753 | 753 |
| 754 virtual ~CPDF_TilingPattern(); | 754 virtual ~CPDF_TilingPattern(); |
| 755 | 755 |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 945 FX_BOOL m_bIsMask; | 945 FX_BOOL m_bIsMask; |
| 946 | 946 |
| 947 FX_BOOL m_bInterpolate; | 947 FX_BOOL m_bInterpolate; |
| 948 | 948 |
| 949 CPDF_Document* m_pDocument; | 949 CPDF_Document* m_pDocument; |
| 950 | 950 |
| 951 CPDF_Dictionary* m_pOC; | 951 CPDF_Dictionary* m_pOC; |
| 952 CPDF_Dictionary* InitJPEG(FX_LPBYTE pData, FX_DWORD size); | 952 CPDF_Dictionary* InitJPEG(FX_LPBYTE pData, FX_DWORD size); |
| 953 }; | 953 }; |
| 954 #endif | 954 #endif |
| OLD | NEW |