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

Side by Side Diff: xfa/fxbarcode/pdf417/BC_PDF417BoundingBox.h

Issue 2067903002: Make code compile with clang_use_chrome_plugin (part III) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: address comments 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/pdf417/BC_PDF417BarcodeRow.h ('k') | xfa/fxbarcode/pdf417/BC_PDF417Codeword.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_FXBARCODE_PDF417_BC_PDF417BOUNDINGBOX_H_ 7 #ifndef XFA_FXBARCODE_PDF417_BC_PDF417BOUNDINGBOX_H_
8 #define XFA_FXBARCODE_PDF417_BC_PDF417BOUNDINGBOX_H_ 8 #define XFA_FXBARCODE_PDF417_BC_PDF417BOUNDINGBOX_H_
9 9
10 #include "core/fxcrt/include/fx_system.h" 10 #include "core/fxcrt/include/fx_system.h"
11 11
12 class CBC_CommonBitMatrix; 12 class CBC_CommonBitMatrix;
13 class CBC_ResultPoint; 13 class CBC_ResultPoint;
14 14
15 class CBC_BoundingBox { 15 class CBC_BoundingBox {
16 public: 16 public:
17 CBC_BoundingBox(CBC_CommonBitMatrix* image, 17 CBC_BoundingBox(CBC_CommonBitMatrix* image,
18 CBC_ResultPoint* topLeft, 18 CBC_ResultPoint* topLeft,
19 CBC_ResultPoint* bottomLeft, 19 CBC_ResultPoint* bottomLeft,
20 CBC_ResultPoint* topRight, 20 CBC_ResultPoint* topRight,
21 CBC_ResultPoint* bottomRight, 21 CBC_ResultPoint* bottomRight,
22 int32_t& e); 22 int32_t& e);
23 CBC_BoundingBox(CBC_BoundingBox* boundingBox); 23 CBC_BoundingBox(CBC_BoundingBox* boundingBox);
24 virtual ~CBC_BoundingBox(); 24 virtual ~CBC_BoundingBox();
25
25 static CBC_BoundingBox* merge(CBC_BoundingBox* leftBox, 26 static CBC_BoundingBox* merge(CBC_BoundingBox* leftBox,
26 CBC_BoundingBox* rightBox, 27 CBC_BoundingBox* rightBox,
27 int32_t& e); 28 int32_t& e);
28 CBC_BoundingBox* addMissingRows(int32_t missingStartRows, 29 CBC_BoundingBox* addMissingRows(int32_t missingStartRows,
29 int32_t missingEndRows, 30 int32_t missingEndRows,
30 FX_BOOL isLeft, 31 FX_BOOL isLeft,
31 int32_t& e); 32 int32_t& e);
32 void setTopRight(CBC_ResultPoint topRight); 33 void setTopRight(CBC_ResultPoint topRight);
33 void setBottomRight(CBC_ResultPoint bottomRight); 34 void setBottomRight(CBC_ResultPoint bottomRight);
34 int32_t getMinX(); 35 int32_t getMinX();
(...skipping 17 matching lines...) Expand all
52 int32_t m_maxY; 53 int32_t m_maxY;
53 void init(CBC_CommonBitMatrix* image, 54 void init(CBC_CommonBitMatrix* image,
54 CBC_ResultPoint* topLeft, 55 CBC_ResultPoint* topLeft,
55 CBC_ResultPoint* bottomLeft, 56 CBC_ResultPoint* bottomLeft,
56 CBC_ResultPoint* topRight, 57 CBC_ResultPoint* topRight,
57 CBC_ResultPoint* bottomRight); 58 CBC_ResultPoint* bottomRight);
58 void calculateMinMaxValues(); 59 void calculateMinMaxValues();
59 }; 60 };
60 61
61 #endif // XFA_FXBARCODE_PDF417_BC_PDF417BOUNDINGBOX_H_ 62 #endif // XFA_FXBARCODE_PDF417_BC_PDF417BOUNDINGBOX_H_
OLDNEW
« no previous file with comments | « xfa/fxbarcode/pdf417/BC_PDF417BarcodeRow.h ('k') | xfa/fxbarcode/pdf417/BC_PDF417Codeword.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698