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

Side by Side Diff: core/fxge/ge/cfx_graphstate.cpp

Issue 2383543002: Move core/fpdfapi/fpdf_parser/include to core/fpdfapi/fpdf_parser (Closed)
Patch Set: 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/fxge/dib/fx_dib_engine_unittest.cpp ('k') | core/fxge/skia/fx_skia_device.cpp » ('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/fxge/include/cfx_graphstate.h" 7 #include "core/fxge/include/cfx_graphstate.h"
8 8
9 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" 9 #include "core/fpdfapi/fpdf_parser/cpdf_array.h"
10 10
11 CFX_GraphState::CFX_GraphState() {} 11 CFX_GraphState::CFX_GraphState() {}
12 12
13 CFX_GraphState::CFX_GraphState(const CFX_GraphState& that) 13 CFX_GraphState::CFX_GraphState(const CFX_GraphState& that)
14 : m_Ref(that.m_Ref) {} 14 : m_Ref(that.m_Ref) {}
15 15
16 CFX_GraphState::~CFX_GraphState() {} 16 CFX_GraphState::~CFX_GraphState() {}
17 17
18 void CFX_GraphState::Emplace() { 18 void CFX_GraphState::Emplace() {
19 m_Ref.Emplace(); 19 m_Ref.Emplace();
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 m_Ref.GetPrivateCopy()->m_LineJoin = join; 52 m_Ref.GetPrivateCopy()->m_LineJoin = join;
53 } 53 }
54 54
55 FX_FLOAT CFX_GraphState::GetMiterLimit() const { 55 FX_FLOAT CFX_GraphState::GetMiterLimit() const {
56 return m_Ref.GetObject()->m_MiterLimit; 56 return m_Ref.GetObject()->m_MiterLimit;
57 } 57 }
58 58
59 void CFX_GraphState::SetMiterLimit(FX_FLOAT limit) { 59 void CFX_GraphState::SetMiterLimit(FX_FLOAT limit) {
60 m_Ref.GetPrivateCopy()->m_MiterLimit = limit; 60 m_Ref.GetPrivateCopy()->m_MiterLimit = limit;
61 } 61 }
OLDNEW
« no previous file with comments | « core/fxge/dib/fx_dib_engine_unittest.cpp ('k') | core/fxge/skia/fx_skia_device.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698