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

Side by Side Diff: xfa/src/fxbarcode/BC_TwoDimWriter.h

Issue 1747123002: Fix and enable lint checks. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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/src/fxbarcode/BC_BarCode.cpp ('k') | xfa/src/fxbarcode/oned/BC_OneDimWriter.h » ('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_SRC_FXBARCODE_BC_TWODIMWRITER_H_ 7 #ifndef XFA_SRC_FXBARCODE_BC_TWODIMWRITER_H_
8 #define XFA_SRC_FXBARCODE_BC_TWODIMWRITER_H_ 8 #define XFA_SRC_FXBARCODE_BC_TWODIMWRITER_H_
9 9
10 #include "core/include/fxge/fx_ge.h" 10 #include "core/include/fxge/fx_ge.h"
11 #include "xfa/src/fxbarcode/BC_Writer.h" 11 #include "xfa/src/fxbarcode/BC_Writer.h"
12 12
13 class CBC_CommonBitMatrix; 13 class CBC_CommonBitMatrix;
14 14
15 class CBC_TwoDimWriter : public CBC_Writer { 15 class CBC_TwoDimWriter : public CBC_Writer {
16 public: 16 public:
17 CBC_TwoDimWriter(); 17 CBC_TwoDimWriter();
18 virtual ~CBC_TwoDimWriter(); 18 virtual ~CBC_TwoDimWriter();
19 virtual void RenderResult(uint8_t* code, 19 virtual void RenderResult(uint8_t* code,
20 int32_t codeWidth, 20 int32_t codeWidth,
21 int32_t codeHeight, 21 int32_t codeHeight,
22 int32_t& e); 22 int32_t& e);
23 virtual void RenderBitmapResult(CFX_DIBitmap*& pOutBitmap, int32_t& e); 23 virtual void RenderBitmapResult(CFX_DIBitmap*& pOutBitmap, int32_t& e);
24 virtual void RenderDeviceResult(CFX_RenderDevice* device, 24 virtual void RenderDeviceResult(CFX_RenderDevice* device,
25 const CFX_Matrix* matrix); 25 const CFX_Matrix* matrix);
26 virtual FX_BOOL SetErrorCorrectionLevel(int32_t level) = 0; 26 virtual FX_BOOL SetErrorCorrectionLevel(int32_t level) = 0;
27 virtual int32_t GetErrorCorrectionLevel() { return m_iCorrectLevel; }; 27 virtual int32_t GetErrorCorrectionLevel() { return m_iCorrectLevel; }
28 28
29 protected: 29 protected:
30 int32_t m_iCorrectLevel; 30 int32_t m_iCorrectLevel;
31 FX_BOOL m_bFixedSize; 31 FX_BOOL m_bFixedSize;
32 CBC_CommonBitMatrix* m_output; 32 CBC_CommonBitMatrix* m_output;
33 }; 33 };
34 34
35 #endif // XFA_SRC_FXBARCODE_BC_TWODIMWRITER_H_ 35 #endif // XFA_SRC_FXBARCODE_BC_TWODIMWRITER_H_
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/BC_BarCode.cpp ('k') | xfa/src/fxbarcode/oned/BC_OneDimWriter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698