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/basewidget/cfx_barcode.h" | 7 #include "xfa/fwl/core/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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 | 329 |
330 FX_BOOL CFX_Barcode::RenderDevice(CFX_RenderDevice* device, | 330 FX_BOOL CFX_Barcode::RenderDevice(CFX_RenderDevice* device, |
331 const CFX_Matrix* matrix, | 331 const CFX_Matrix* matrix, |
332 int32_t& e) { | 332 int32_t& e) { |
333 return m_pBCEngine && m_pBCEngine->RenderDevice(device, matrix, e); | 333 return m_pBCEngine && m_pBCEngine->RenderDevice(device, matrix, e); |
334 } | 334 } |
335 | 335 |
336 FX_BOOL CFX_Barcode::RenderBitmap(CFX_DIBitmap*& pOutBitmap, int32_t& e) { | 336 FX_BOOL CFX_Barcode::RenderBitmap(CFX_DIBitmap*& pOutBitmap, int32_t& e) { |
337 return m_pBCEngine && m_pBCEngine->RenderBitmap(pOutBitmap, e); | 337 return m_pBCEngine && m_pBCEngine->RenderBitmap(pOutBitmap, e); |
338 } | 338 } |
OLD | NEW |