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_BOUNDINGBOX_H_ | 7 #ifndef XFA_SRC_FXBARCODE_PDF417_BC_BOUNDINGBOX_H_ |
8 #define _BC_BOUNDINGBOX_H_ | 8 #define XFA_SRC_FXBARCODE_PDF417_BC_BOUNDINGBOX_H_ |
| 9 |
9 class CBC_CommonBitMatrix; | 10 class CBC_CommonBitMatrix; |
10 class CBC_ResultPoint; | 11 class CBC_ResultPoint; |
11 class CBC_BoundingBox { | 12 class CBC_BoundingBox { |
12 public: | 13 public: |
13 CBC_BoundingBox(CBC_CommonBitMatrix* image, | 14 CBC_BoundingBox(CBC_CommonBitMatrix* image, |
14 CBC_ResultPoint* topLeft, | 15 CBC_ResultPoint* topLeft, |
15 CBC_ResultPoint* bottomLeft, | 16 CBC_ResultPoint* bottomLeft, |
16 CBC_ResultPoint* topRight, | 17 CBC_ResultPoint* topRight, |
17 CBC_ResultPoint* bottomRight, | 18 CBC_ResultPoint* bottomRight, |
18 int32_t& e); | 19 int32_t& e); |
(...skipping 27 matching lines...) Expand all Loading... |
46 int32_t m_maxX; | 47 int32_t m_maxX; |
47 int32_t m_minY; | 48 int32_t m_minY; |
48 int32_t m_maxY; | 49 int32_t m_maxY; |
49 void init(CBC_CommonBitMatrix* image, | 50 void init(CBC_CommonBitMatrix* image, |
50 CBC_ResultPoint* topLeft, | 51 CBC_ResultPoint* topLeft, |
51 CBC_ResultPoint* bottomLeft, | 52 CBC_ResultPoint* bottomLeft, |
52 CBC_ResultPoint* topRight, | 53 CBC_ResultPoint* topRight, |
53 CBC_ResultPoint* bottomRight); | 54 CBC_ResultPoint* bottomRight); |
54 void calculateMinMaxValues(); | 55 void calculateMinMaxValues(); |
55 }; | 56 }; |
56 #endif | 57 |
| 58 #endif // XFA_SRC_FXBARCODE_PDF417_BC_BOUNDINGBOX_H_ |
OLD | NEW |