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 #ifndef XFA_FXBARCODE_CBC_EAN13_H_ | 7 #ifndef XFA_FXBARCODE_CBC_EAN13_H_ |
8 #define XFA_FXBARCODE_CBC_EAN13_H_ | 8 #define XFA_FXBARCODE_CBC_EAN13_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_string.h" | 10 #include "core/fxcrt/include/fx_string.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 int32_t& e) override; | 23 int32_t& e) override; |
24 CFX_WideString Decode(uint8_t* buf, | 24 CFX_WideString Decode(uint8_t* buf, |
25 int32_t width, | 25 int32_t width, |
26 int32_t height, | 26 int32_t height, |
27 int32_t& e) override; | 27 int32_t& e) override; |
28 CFX_WideString Decode(CFX_DIBitmap* pBitmap, int32_t& e) override; | 28 CFX_WideString Decode(CFX_DIBitmap* pBitmap, int32_t& e) override; |
29 FX_BOOL RenderDevice(CFX_RenderDevice* device, | 29 FX_BOOL RenderDevice(CFX_RenderDevice* device, |
30 const CFX_Matrix* matrix, | 30 const CFX_Matrix* matrix, |
31 int32_t& e) override; | 31 int32_t& e) override; |
32 FX_BOOL RenderBitmap(CFX_DIBitmap*& pOutBitmap, int32_t& e) override; | 32 FX_BOOL RenderBitmap(CFX_DIBitmap*& pOutBitmap, int32_t& e) override; |
33 BC_TYPE GetType() override { return BC_EAN13; } | 33 BC_TYPE GetType() override; |
34 | 34 |
35 private: | 35 private: |
36 CFX_WideString Preprocess(const CFX_WideStringC& contents); | 36 CFX_WideString Preprocess(const CFX_WideStringC& contents); |
37 CFX_WideString m_renderContents; | 37 CFX_WideString m_renderContents; |
38 }; | 38 }; |
39 | 39 |
40 #endif // XFA_FXBARCODE_CBC_EAN13_H_ | 40 #endif // XFA_FXBARCODE_CBC_EAN13_H_ |
OLD | NEW |