| 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 #ifndef XFA_FXBARCODE_ONED_BC_ONEDUPCAWRITER_H_ | 7 #ifndef XFA_FXBARCODE_ONED_BC_ONEDUPCAWRITER_H_ |
| 8 #define XFA_FXBARCODE_ONED_BC_ONEDUPCAWRITER_H_ | 8 #define XFA_FXBARCODE_ONED_BC_ONEDUPCAWRITER_H_ |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "core/fxcrt/include/fx_string.h" | 12 #include "core/fxcrt/fx_string.h" |
| 13 #include "core/fxcrt/include/fx_system.h" | 13 #include "core/fxcrt/fx_system.h" |
| 14 #include "xfa/fxbarcode/oned/BC_OneDimWriter.h" | 14 #include "xfa/fxbarcode/oned/BC_OneDimWriter.h" |
| 15 | 15 |
| 16 class CBC_OnedEAN13Writer; | 16 class CBC_OnedEAN13Writer; |
| 17 class CFX_DIBitmap; | 17 class CFX_DIBitmap; |
| 18 class CFX_Matrix; | 18 class CFX_Matrix; |
| 19 class CFX_RenderDevice; | 19 class CFX_RenderDevice; |
| 20 | 20 |
| 21 class CBC_OnedUPCAWriter : public CBC_OneDimWriter { | 21 class CBC_OnedUPCAWriter : public CBC_OneDimWriter { |
| 22 public: | 22 public: |
| 23 CBC_OnedUPCAWriter(); | 23 CBC_OnedUPCAWriter(); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 const CFX_Matrix* matrix, | 57 const CFX_Matrix* matrix, |
| 58 int32_t barWidth, | 58 int32_t barWidth, |
| 59 int32_t multiple, | 59 int32_t multiple, |
| 60 int32_t& e) override; | 60 int32_t& e) override; |
| 61 | 61 |
| 62 private: | 62 private: |
| 63 std::unique_ptr<CBC_OnedEAN13Writer> m_subWriter; | 63 std::unique_ptr<CBC_OnedEAN13Writer> m_subWriter; |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 #endif // XFA_FXBARCODE_ONED_BC_ONEDUPCAWRITER_H_ | 66 #endif // XFA_FXBARCODE_ONED_BC_ONEDUPCAWRITER_H_ |
| OLD | NEW |