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/include/fpdfapi/cpdf_dictionary.h" | 7 #include "core/include/fpdfapi/cpdf_dictionary.h" |
8 | 8 |
9 #include "core/include/fpdfapi/cpdf_array.h" | 9 #include "core/include/fpdfapi/cpdf_array.h" |
10 #include "core/include/fpdfapi/cpdf_boolean.h" | 10 #include "core/include/fpdfapi/cpdf_boolean.h" |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 const CFX_Matrix& matrix) { | 262 const CFX_Matrix& matrix) { |
263 CPDF_Array* pArray = new CPDF_Array; | 263 CPDF_Array* pArray = new CPDF_Array; |
264 pArray->AddNumber(matrix.a); | 264 pArray->AddNumber(matrix.a); |
265 pArray->AddNumber(matrix.b); | 265 pArray->AddNumber(matrix.b); |
266 pArray->AddNumber(matrix.c); | 266 pArray->AddNumber(matrix.c); |
267 pArray->AddNumber(matrix.d); | 267 pArray->AddNumber(matrix.d); |
268 pArray->AddNumber(matrix.e); | 268 pArray->AddNumber(matrix.e); |
269 pArray->AddNumber(matrix.f); | 269 pArray->AddNumber(matrix.f); |
270 SetAt(key, pArray); | 270 SetAt(key, pArray); |
271 } | 271 } |
OLD | NEW |