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_PDF417_BC_PDF417BOUNDINGBOX_H_ | 7 #ifndef XFA_FXBARCODE_PDF417_BC_PDF417BOUNDINGBOX_H_ |
8 #define XFA_SRC_FXBARCODE_PDF417_BC_PDF417BOUNDINGBOX_H_ | 8 #define XFA_FXBARCODE_PDF417_BC_PDF417BOUNDINGBOX_H_ |
9 | 9 |
10 #include "core/include/fxcrt/fx_system.h" | 10 #include "core/include/fxcrt/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, |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 int32_t m_minY; | 51 int32_t m_minY; |
52 int32_t m_maxY; | 52 int32_t m_maxY; |
53 void init(CBC_CommonBitMatrix* image, | 53 void init(CBC_CommonBitMatrix* image, |
54 CBC_ResultPoint* topLeft, | 54 CBC_ResultPoint* topLeft, |
55 CBC_ResultPoint* bottomLeft, | 55 CBC_ResultPoint* bottomLeft, |
56 CBC_ResultPoint* topRight, | 56 CBC_ResultPoint* topRight, |
57 CBC_ResultPoint* bottomRight); | 57 CBC_ResultPoint* bottomRight); |
58 void calculateMinMaxValues(); | 58 void calculateMinMaxValues(); |
59 }; | 59 }; |
60 | 60 |
61 #endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417BOUNDINGBOX_H_ | 61 #endif // XFA_FXBARCODE_PDF417_BC_PDF417BOUNDINGBOX_H_ |
OLD | NEW |