| 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_ONEDIMWRITER_H_ | 7 #ifndef XFA_FXBARCODE_ONED_BC_ONEDIMWRITER_H_ |
| 8 #define XFA_FXBARCODE_ONED_BC_ONEDIMWRITER_H_ | 8 #define XFA_FXBARCODE_ONED_BC_ONEDIMWRITER_H_ |
| 9 | 9 |
| 10 #include <memory> |
| 11 |
| 10 #include "core/fxge/include/fx_ge.h" | 12 #include "core/fxge/include/fx_ge.h" |
| 11 #include "xfa/fxbarcode/BC_Writer.h" | 13 #include "xfa/fxbarcode/BC_Writer.h" |
| 12 #include "xfa/fxbarcode/include/BC_Library.h" | 14 #include "xfa/fxbarcode/include/BC_Library.h" |
| 13 | 15 |
| 14 class CBC_CommonBitMatrix; | 16 class CBC_CommonBitMatrix; |
| 15 class CFX_Font; | 17 class CFX_Font; |
| 16 class CFX_RenderDevice; | 18 class CFX_RenderDevice; |
| 17 | 19 |
| 18 class CBC_OneDimWriter : public CBC_Writer { | 20 class CBC_OneDimWriter : public CBC_Writer { |
| 19 public: | 21 public: |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 int32_t m_iDataLenth; | 102 int32_t m_iDataLenth; |
| 101 FX_BOOL m_bCalcChecksum; | 103 FX_BOOL m_bCalcChecksum; |
| 102 CFX_Font* m_pFont; | 104 CFX_Font* m_pFont; |
| 103 FX_FLOAT m_fFontSize; | 105 FX_FLOAT m_fFontSize; |
| 104 int32_t m_iFontStyle; | 106 int32_t m_iFontStyle; |
| 105 uint32_t m_fontColor; | 107 uint32_t m_fontColor; |
| 106 BC_TEXT_LOC m_locTextLoc; | 108 BC_TEXT_LOC m_locTextLoc; |
| 107 int32_t m_iContentLen; | 109 int32_t m_iContentLen; |
| 108 FX_BOOL m_bLeftPadding; | 110 FX_BOOL m_bLeftPadding; |
| 109 FX_BOOL m_bRightPadding; | 111 FX_BOOL m_bRightPadding; |
| 110 CBC_CommonBitMatrix* m_output; | 112 std::unique_ptr<CBC_CommonBitMatrix> m_output; |
| 111 int32_t m_barWidth; | 113 int32_t m_barWidth; |
| 112 int32_t m_multiple; | 114 int32_t m_multiple; |
| 113 FX_FLOAT m_outputHScale; | 115 FX_FLOAT m_outputHScale; |
| 114 }; | 116 }; |
| 115 | 117 |
| 116 #endif // XFA_FXBARCODE_ONED_BC_ONEDIMWRITER_H_ | 118 #endif // XFA_FXBARCODE_ONED_BC_ONEDIMWRITER_H_ |
| OLD | NEW |