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 CORE_SRC_FPDFAPI_FPDF_PAGE_PAGEINT_H_ | 7 #ifndef CORE_SRC_FPDFAPI_FPDF_PAGE_PAGEINT_H_ |
8 #define CORE_SRC_FPDFAPI_FPDF_PAGE_PAGEINT_H_ | 8 #define CORE_SRC_FPDFAPI_FPDF_PAGE_PAGEINT_H_ |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 public: | 395 public: |
396 explicit CPDF_DocPageData(CPDF_Document* pPDFDoc); | 396 explicit CPDF_DocPageData(CPDF_Document* pPDFDoc); |
397 ~CPDF_DocPageData(); | 397 ~CPDF_DocPageData(); |
398 | 398 |
399 void Clear(FX_BOOL bRelease = FALSE); | 399 void Clear(FX_BOOL bRelease = FALSE); |
400 CPDF_Font* GetFont(CPDF_Dictionary* pFontDict, FX_BOOL findOnly); | 400 CPDF_Font* GetFont(CPDF_Dictionary* pFontDict, FX_BOOL findOnly); |
401 CPDF_Font* GetStandardFont(const CFX_ByteStringC& fontName, | 401 CPDF_Font* GetStandardFont(const CFX_ByteStringC& fontName, |
402 CPDF_FontEncoding* pEncoding); | 402 CPDF_FontEncoding* pEncoding); |
403 void ReleaseFont(CPDF_Dictionary* pFontDict); | 403 void ReleaseFont(CPDF_Dictionary* pFontDict); |
404 CPDF_ColorSpace* GetColorSpace(CPDF_Object* pCSObj, | 404 CPDF_ColorSpace* GetColorSpace(CPDF_Object* pCSObj, |
405 CPDF_Dictionary* pResources); | 405 const CPDF_Dictionary* pResources); |
406 CPDF_ColorSpace* GetCopiedColorSpace(CPDF_Object* pCSObj); | 406 CPDF_ColorSpace* GetCopiedColorSpace(CPDF_Object* pCSObj); |
407 void ReleaseColorSpace(CPDF_Object* pColorSpace); | 407 void ReleaseColorSpace(CPDF_Object* pColorSpace); |
408 CPDF_Pattern* GetPattern(CPDF_Object* pPatternObj, | 408 CPDF_Pattern* GetPattern(CPDF_Object* pPatternObj, |
409 FX_BOOL bShading, | 409 FX_BOOL bShading, |
410 const CFX_AffineMatrix* matrix); | 410 const CFX_AffineMatrix* matrix); |
411 void ReleasePattern(CPDF_Object* pPatternObj); | 411 void ReleasePattern(CPDF_Object* pPatternObj); |
412 CPDF_Image* GetImage(CPDF_Object* pImageStream); | 412 CPDF_Image* GetImage(CPDF_Object* pImageStream); |
413 void ReleaseImage(CPDF_Object* pImageStream); | 413 void ReleaseImage(CPDF_Object* pImageStream); |
414 CPDF_IccProfile* GetIccProfile(CPDF_Stream* pIccProfileStream); | 414 CPDF_IccProfile* GetIccProfile(CPDF_Stream* pIccProfileStream); |
415 void ReleaseIccProfile(CPDF_IccProfile* pIccProfile); | 415 void ReleaseIccProfile(CPDF_IccProfile* pIccProfile); |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 FX_FLOAT& G, | 519 FX_FLOAT& G, |
520 FX_FLOAT& B) const override; | 520 FX_FLOAT& B) const override; |
521 CPDF_ColorSpace* GetBaseCS() const override; | 521 CPDF_ColorSpace* GetBaseCS() const override; |
522 | 522 |
523 private: | 523 private: |
524 CPDF_ColorSpace* m_pBaseCS; | 524 CPDF_ColorSpace* m_pBaseCS; |
525 CPDF_CountedColorSpace* m_pCountedBaseCS; | 525 CPDF_CountedColorSpace* m_pCountedBaseCS; |
526 }; | 526 }; |
527 | 527 |
528 #endif // CORE_SRC_FPDFAPI_FPDF_PAGE_PAGEINT_H_ | 528 #endif // CORE_SRC_FPDFAPI_FPDF_PAGE_PAGEINT_H_ |
OLD | NEW |