Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(539)

Side by Side Diff: xfa/fxbarcode/oned/BC_OneDimWriter.h

Issue 2048983002: Get rid of NULLs in xfa/fxbarcode/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: nits Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fxbarcode/oned/BC_OneDimReader.cpp ('k') | xfa/fxbarcode/oned/BC_OneDimWriter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "core/fxge/include/fx_ge.h" 10 #include "core/fxge/include/fx_ge.h"
(...skipping 16 matching lines...) Expand all
27 int32_t& e); 27 int32_t& e);
28 uint8_t* Encode(const CFX_ByteString& contents, 28 uint8_t* Encode(const CFX_ByteString& contents,
29 BCFORMAT format, 29 BCFORMAT format,
30 int32_t& outWidth, 30 int32_t& outWidth,
31 int32_t& outHeight, 31 int32_t& outHeight,
32 int32_t hints, 32 int32_t hints,
33 int32_t& e); 33 int32_t& e);
34 virtual uint8_t* Encode(const CFX_ByteString& contents, 34 virtual uint8_t* Encode(const CFX_ByteString& contents,
35 int32_t& outLength, 35 int32_t& outLength,
36 int32_t& e) { 36 int32_t& e) {
37 return NULL; 37 return nullptr;
38 } 38 }
39 39
40 virtual void RenderResult(const CFX_WideStringC& contents, 40 virtual void RenderResult(const CFX_WideStringC& contents,
41 uint8_t* code, 41 uint8_t* code,
42 int32_t codeLength, 42 int32_t codeLength,
43 FX_BOOL isDevice, 43 FX_BOOL isDevice,
44 int32_t& e); 44 int32_t& e);
45 virtual void RenderBitmapResult(CFX_DIBitmap*& pOutBitmap, 45 virtual void RenderBitmapResult(CFX_DIBitmap*& pOutBitmap,
46 const CFX_WideStringC& contents, 46 const CFX_WideStringC& contents,
47 int32_t& e); 47 int32_t& e);
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 int32_t m_iContentLen; 114 int32_t m_iContentLen;
115 FX_BOOL m_bLeftPadding; 115 FX_BOOL m_bLeftPadding;
116 FX_BOOL m_bRightPadding; 116 FX_BOOL m_bRightPadding;
117 CBC_CommonBitMatrix* m_output; 117 CBC_CommonBitMatrix* m_output;
118 int32_t m_barWidth; 118 int32_t m_barWidth;
119 int32_t m_multiple; 119 int32_t m_multiple;
120 FX_FLOAT m_outputHScale; 120 FX_FLOAT m_outputHScale;
121 }; 121 };
122 122
123 #endif // XFA_FXBARCODE_ONED_BC_ONEDIMWRITER_H_ 123 #endif // XFA_FXBARCODE_ONED_BC_ONEDIMWRITER_H_
OLDNEW
« no previous file with comments | « xfa/fxbarcode/oned/BC_OneDimReader.cpp ('k') | xfa/fxbarcode/oned/BC_OneDimWriter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698