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

Side by Side Diff: core/fpdfapi/fpdf_page/cpdf_path.cpp

Issue 2379033002: Move core/fpdfapi/fpdf_page/include to core/fpdfapi/fpdf_page (Closed)
Patch Set: Header sort Created 4 years, 2 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_path.h ('k') | core/fpdfapi/fpdf_page/cpdf_pathobject.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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 #include "core/fpdfapi/fpdf_page/include/cpdf_path.h" 7 #include "core/fpdfapi/fpdf_page/cpdf_path.h"
8 8
9 CPDF_Path::CPDF_Path() {} 9 CPDF_Path::CPDF_Path() {}
10 10
11 CPDF_Path::CPDF_Path(const CPDF_Path& that) : m_Ref(that.m_Ref) {} 11 CPDF_Path::CPDF_Path(const CPDF_Path& that) : m_Ref(that.m_Ref) {}
12 12
13 CPDF_Path::~CPDF_Path() {} 13 CPDF_Path::~CPDF_Path() {}
14 14
15 int CPDF_Path::GetPointCount() const { 15 int CPDF_Path::GetPointCount() const {
16 return m_Ref.GetObject()->GetPointCount(); 16 return m_Ref.GetObject()->GetPointCount();
17 } 17 }
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 void CPDF_Path::Append(const CFX_PathData* pData, const CFX_Matrix* pMatrix) { 64 void CPDF_Path::Append(const CFX_PathData* pData, const CFX_Matrix* pMatrix) {
65 m_Ref.GetPrivateCopy()->Append(pData, pMatrix); 65 m_Ref.GetPrivateCopy()->Append(pData, pMatrix);
66 } 66 }
67 67
68 void CPDF_Path::AppendRect(FX_FLOAT left, 68 void CPDF_Path::AppendRect(FX_FLOAT left,
69 FX_FLOAT bottom, 69 FX_FLOAT bottom,
70 FX_FLOAT right, 70 FX_FLOAT right,
71 FX_FLOAT top) { 71 FX_FLOAT top) {
72 m_Ref.GetPrivateCopy()->AppendRect(left, bottom, right, top); 72 m_Ref.GetPrivateCopy()->AppendRect(left, bottom, right, top);
73 } 73 }
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_page/cpdf_path.h ('k') | core/fpdfapi/fpdf_page/cpdf_pathobject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698