Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(377)

Side by Side Diff: core/fpdfapi/fpdf_page/cpdf_clippathdata.h

Issue 2301263003: Make CPDF_ClipPath have a CPDF_ClipPathData rather than inheriting (Closed)
Patch Set: safe bool while we're at it Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/fpdfapi/fpdf_page/cpdf_clippath.cpp ('k') | core/fpdfapi/fpdf_page/cpdf_clippathdata.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_page/cpdf_clippath.cpp ('k') | core/fpdfapi/fpdf_page/cpdf_clippathdata.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698