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_SRC_FXBARCODE_ONED_BC_ONEDIMWRITER_H_ | 7 #ifndef XFA_FXBARCODE_ONED_BC_ONEDIMWRITER_H_ |
8 #define XFA_SRC_FXBARCODE_ONED_BC_ONEDIMWRITER_H_ | 8 #define XFA_FXBARCODE_ONED_BC_ONEDIMWRITER_H_ |
9 | 9 |
10 #include "core/include/fxge/fx_ge.h" | 10 #include "core/include/fxge/fx_ge.h" |
| 11 #include "xfa/fxbarcode/BC_Writer.h" |
11 #include "xfa/include/fxbarcode/BC_BarCode.h" | 12 #include "xfa/include/fxbarcode/BC_BarCode.h" |
12 #include "xfa/src/fxbarcode/BC_Writer.h" | |
13 | 13 |
14 class CBC_CommonBitMatrix; | 14 class CBC_CommonBitMatrix; |
15 class CFX_Font; | 15 class CFX_Font; |
16 class CFX_RenderDevice; | 16 class CFX_RenderDevice; |
17 | 17 |
18 class CBC_OneDimWriter : public CBC_Writer { | 18 class CBC_OneDimWriter : public CBC_Writer { |
19 public: | 19 public: |
20 CBC_OneDimWriter(); | 20 CBC_OneDimWriter(); |
21 virtual ~CBC_OneDimWriter(); | 21 virtual ~CBC_OneDimWriter(); |
22 uint8_t* Encode(const CFX_ByteString& contents, | 22 uint8_t* Encode(const CFX_ByteString& contents, |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 int32_t barWidth); | 110 int32_t barWidth); |
111 int32_t AppendPattern(uint8_t* target, | 111 int32_t AppendPattern(uint8_t* target, |
112 int32_t pos, | 112 int32_t pos, |
113 const int32_t* pattern, | 113 const int32_t* pattern, |
114 int32_t patternLength, | 114 int32_t patternLength, |
115 int32_t startColor, | 115 int32_t startColor, |
116 int32_t& e); | 116 int32_t& e); |
117 FX_WCHAR Upper(FX_WCHAR ch); | 117 FX_WCHAR Upper(FX_WCHAR ch); |
118 }; | 118 }; |
119 | 119 |
120 #endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDIMWRITER_H_ | 120 #endif // XFA_FXBARCODE_ONED_BC_ONEDIMWRITER_H_ |
OLD | NEW |