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> | 10 #include <memory> |
11 | 11 |
12 #include "core/fxge/include/fx_ge.h" | 12 #include "core/fxge/include/cfx_renderdevice.h" |
13 #include "xfa/fxbarcode/BC_Writer.h" | 13 #include "xfa/fxbarcode/BC_Writer.h" |
14 #include "xfa/fxbarcode/include/BC_Library.h" | 14 #include "xfa/fxbarcode/include/BC_Library.h" |
15 | 15 |
16 class CBC_CommonBitMatrix; | 16 class CBC_CommonBitMatrix; |
17 class CFX_Font; | 17 class CFX_Font; |
18 class CFX_RenderDevice; | 18 class CFX_RenderDevice; |
19 | 19 |
20 class CBC_OneDimWriter : public CBC_Writer { | 20 class CBC_OneDimWriter : public CBC_Writer { |
21 public: | 21 public: |
22 CBC_OneDimWriter(); | 22 CBC_OneDimWriter(); |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 int32_t m_iContentLen; | 109 int32_t m_iContentLen; |
110 FX_BOOL m_bLeftPadding; | 110 FX_BOOL m_bLeftPadding; |
111 FX_BOOL m_bRightPadding; | 111 FX_BOOL m_bRightPadding; |
112 std::unique_ptr<CBC_CommonBitMatrix> m_output; | 112 std::unique_ptr<CBC_CommonBitMatrix> m_output; |
113 int32_t m_barWidth; | 113 int32_t m_barWidth; |
114 int32_t m_multiple; | 114 int32_t m_multiple; |
115 FX_FLOAT m_outputHScale; | 115 FX_FLOAT m_outputHScale; |
116 }; | 116 }; |
117 | 117 |
118 #endif // XFA_FXBARCODE_ONED_BC_ONEDIMWRITER_H_ | 118 #endif // XFA_FXBARCODE_ONED_BC_ONEDIMWRITER_H_ |
OLD | NEW |