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