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