OLD | NEW |
| (Empty) |
1 // Copyright 2016 PDFium Authors. All rights reserved. | |
2 // 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_FPDF_PAGE_CPDF_PAGEMODULE_H_ | |
8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_PAGEMODULE_H_ | |
9 | |
10 #include "core/fpdfapi/font/font_int.h" | |
11 #include "core/fpdfapi/fpdf_page/cpdf_colorspace.h" | |
12 #include "core/fpdfapi/fpdf_page/pageint.h" | |
13 | |
14 class CPDF_Document; | |
15 | |
16 class CPDF_PageModule { | |
17 public: | |
18 CPDF_PageModule(); | |
19 ~CPDF_PageModule(); | |
20 | |
21 CPDF_FontGlobals* GetFontGlobals(); | |
22 CPDF_ColorSpace* GetStockCS(int family); | |
23 void ClearStockFont(CPDF_Document* pDoc); | |
24 | |
25 private: | |
26 CPDF_FontGlobals m_FontGlobals; | |
27 CPDF_DeviceCS m_StockGrayCS; | |
28 CPDF_DeviceCS m_StockRGBCS; | |
29 CPDF_DeviceCS m_StockCMYKCS; | |
30 CPDF_PatternCS m_StockPatternCS; | |
31 }; | |
32 | |
33 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_PAGEMODULE_H_ | |
OLD | NEW |