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

Side by Side Diff: core/fpdfapi/fpdf_page/include/cpdf_clippath.h

Issue 1811053002: Move core/include/fpdfapi/fpdf_pageobj.h into core/fpdfapi. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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
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_INCLUDE_CPDF_CLIPPATH_H_
8 #define CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_CLIPPATH_H_
9
10 #include "core/fpdfapi/fpdf_page/cpdf_clippathdata.h"
11 #include "core/fpdfapi/fpdf_page/include/cpdf_path.h"
12 #include "core/include/fxcrt/fx_basic.h"
13 #include "core/include/fxcrt/fx_coordinates.h"
14 #include "core/include/fxcrt/fx_system.h"
15
16 class CPDF_TextObject;
17
18 class CPDF_ClipPath : public CFX_CountRef<CPDF_ClipPathData> {
19 public:
20 FX_DWORD GetPathCount() const { return m_pObject->m_PathCount; }
21 CPDF_Path GetPath(int i) const { return m_pObject->m_pPathList[i]; }
22 int GetClipType(int i) const { return m_pObject->m_pTypeList[i]; }
23 FX_DWORD GetTextCount() const { return m_pObject->m_TextCount; }
24 CPDF_TextObject* GetText(int i) const { return m_pObject->m_pTextList[i]; }
25 CFX_FloatRect GetClipBox() const;
26
27 void AppendPath(CPDF_Path path, int type, FX_BOOL bAutoMerge);
28 void DeletePath(int layer_index);
29
30 void AppendTexts(CPDF_TextObject** pTexts, int count);
31 void Transform(const CFX_Matrix& matrix);
32 };
33
34 #endif // CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_CLIPPATH_H_
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_page/fpdf_page_path.cpp ('k') | core/fpdfapi/fpdf_page/include/cpdf_formobject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698