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_CLIPPATHDATA_H_ | |
8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_CLIPPATHDATA_H_ | |
9 | |
10 #include <stdint.h> | |
11 | |
12 #include <memory> | |
13 #include <utility> | |
14 #include <vector> | |
15 | |
16 class CPDF_Path; | |
17 class CPDF_TextObject; | |
18 | |
19 class CPDF_ClipPathData { | |
20 public: | |
21 using PathAndTypeData = std::pair<CPDF_Path, uint8_t>; | |
22 CPDF_ClipPathData(); | |
23 CPDF_ClipPathData(const CPDF_ClipPathData&); | |
24 ~CPDF_ClipPathData(); | |
25 | |
26 std::vector<PathAndTypeData> m_PathAndTypeList; | |
27 std::vector<std::unique_ptr<CPDF_TextObject>> m_TextList; | |
28 }; | |
29 | |
30 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_CLIPPATHDATA_H_ | |
OLD | NEW |