| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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 "xfa/fwl/core/cfx_barcode.h" | 7 #include "xfa/fwl/cfx_barcode.h" |
| 8 | 8 |
| 9 #include "xfa/fxbarcode/cbc_codabar.h" | 9 #include "xfa/fxbarcode/cbc_codabar.h" |
| 10 #include "xfa/fxbarcode/cbc_code128.h" | 10 #include "xfa/fxbarcode/cbc_code128.h" |
| 11 #include "xfa/fxbarcode/cbc_code39.h" | 11 #include "xfa/fxbarcode/cbc_code39.h" |
| 12 #include "xfa/fxbarcode/cbc_codebase.h" | 12 #include "xfa/fxbarcode/cbc_codebase.h" |
| 13 #include "xfa/fxbarcode/cbc_datamatrix.h" | 13 #include "xfa/fxbarcode/cbc_datamatrix.h" |
| 14 #include "xfa/fxbarcode/cbc_ean13.h" | 14 #include "xfa/fxbarcode/cbc_ean13.h" |
| 15 #include "xfa/fxbarcode/cbc_ean8.h" | 15 #include "xfa/fxbarcode/cbc_ean8.h" |
| 16 #include "xfa/fxbarcode/cbc_pdf417i.h" | 16 #include "xfa/fxbarcode/cbc_pdf417i.h" |
| 17 #include "xfa/fxbarcode/cbc_qrcode.h" | 17 #include "xfa/fxbarcode/cbc_qrcode.h" |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 bool isDevice, | 307 bool isDevice, |
| 308 int32_t& e) { | 308 int32_t& e) { |
| 309 return m_pBCEngine && m_pBCEngine->Encode(contents, isDevice, e); | 309 return m_pBCEngine && m_pBCEngine->Encode(contents, isDevice, e); |
| 310 } | 310 } |
| 311 | 311 |
| 312 bool CFX_Barcode::RenderDevice(CFX_RenderDevice* device, | 312 bool CFX_Barcode::RenderDevice(CFX_RenderDevice* device, |
| 313 const CFX_Matrix* matrix, | 313 const CFX_Matrix* matrix, |
| 314 int32_t& e) { | 314 int32_t& e) { |
| 315 return m_pBCEngine && m_pBCEngine->RenderDevice(device, matrix, e); | 315 return m_pBCEngine && m_pBCEngine->RenderDevice(device, matrix, e); |
| 316 } | 316 } |
| OLD | NEW |