OLD | NEW |
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_colorspace.h" | 7 #include "core/fpdfapi/fpdf_page/cpdf_colorspace.h" |
8 | 8 |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
11 #include "core/fpdfapi/fpdf_page/cpdf_pagemodule.h" | 11 #include "core/fpdfapi/fpdf_page/cpdf_pagemodule.h" |
12 #include "core/fpdfapi/fpdf_page/pageint.h" | 12 #include "core/fpdfapi/fpdf_page/pageint.h" |
13 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" | 13 #include "core/fpdfapi/fpdf_parser/include/cpdf_array.h" |
14 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" | 14 #include "core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h" |
15 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" | 15 #include "core/fpdfapi/fpdf_parser/include/cpdf_document.h" |
16 #include "core/fpdfapi/fpdf_parser/include/cpdf_object.h" | 16 #include "core/fpdfapi/fpdf_parser/include/cpdf_object.h" |
17 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream.h" | 17 #include "core/fpdfapi/fpdf_parser/include/cpdf_stream.h" |
(...skipping 1250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1268 | 1268 |
1269 return m_pAltCS->GetRGB(results, R, G, B); | 1269 return m_pAltCS->GetRGB(results, R, G, B); |
1270 } | 1270 } |
1271 | 1271 |
1272 void CPDF_DeviceNCS::EnableStdConversion(FX_BOOL bEnabled) { | 1272 void CPDF_DeviceNCS::EnableStdConversion(FX_BOOL bEnabled) { |
1273 CPDF_ColorSpace::EnableStdConversion(bEnabled); | 1273 CPDF_ColorSpace::EnableStdConversion(bEnabled); |
1274 if (m_pAltCS) { | 1274 if (m_pAltCS) { |
1275 m_pAltCS->EnableStdConversion(bEnabled); | 1275 m_pAltCS->EnableStdConversion(bEnabled); |
1276 } | 1276 } |
1277 } | 1277 } |
OLD | NEW |