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_DETECTIONRESULTROWINDICATORCOLUMN_H_ | 7 #ifndef _BC_DETECTIONRESULTROWINDICATORCOLUMN_H_ |
8 #define _BC_DETECTIONRESULTROWINDICATORCOLUMN_H_ | 8 #define _BC_DETECTIONRESULTROWINDICATORCOLUMN_H_ |
9 class CBC_BarcodeMetadata; | 9 class CBC_BarcodeMetadata; |
10 class CBC_BoundingBox; | 10 class CBC_BoundingBox; |
11 class CBC_DetectionResultRowIndicatorColumn; | 11 class CBC_DetectionResultRowIndicatorColumn; |
12 class CBC_DetectionResultRowIndicatorColumn : public CBC_DetectionResultColumn | 12 class CBC_DetectionResultRowIndicatorColumn : public CBC_DetectionResultColumn |
13 { | 13 { |
14 public: | 14 public: |
15 CBC_DetectionResultRowIndicatorColumn(CBC_BoundingBox* boundingBox, FX_BOOL
isLeft); | 15 CBC_DetectionResultRowIndicatorColumn(CBC_BoundingBox* boundingBox, FX_BOOL
isLeft); |
16 virtual ~CBC_DetectionResultRowIndicatorColumn(); | 16 virtual ~CBC_DetectionResultRowIndicatorColumn(); |
17 void setRowNumbers(); | 17 void setRowNumbers(); |
18 FX_INT32 adjustCompleteIndicatorColumnRowNumbers(CBC_BarcodeMetadata barcode
Metadata); | 18 FX_INT32 adjustCompleteIndicatorColumnRowNumbers(CBC_BarcodeMetadata barcode
Metadata); |
19 CFX_Int32Array* getRowHeights(FX_INT32 &e); | 19 CFX_Int32Array* getRowHeights(FX_INT32 &e); |
20 FX_INT32 adjustIncompleteIndicatorColumnRowNumbers(CBC_BarcodeMetadata barco
deMetadata); | 20 FX_INT32 adjustIncompleteIndicatorColumnRowNumbers(CBC_BarcodeMetadata barco
deMetadata); |
21 CBC_BarcodeMetadata* getBarcodeMetadata(); | 21 CBC_BarcodeMetadata* getBarcodeMetadata(); |
22 FX_BOOL isLeft(); | 22 FX_BOOL isLeft(); |
23 CFX_ByteString toString(); | 23 CFX_ByteString toString(); |
24 private: | 24 private: |
25 FX_BOOL m_isLeft; | 25 FX_BOOL m_isLeft; |
26 void removeIncorrectCodewords(CFX_PtrArray* codewords, CBC_BarcodeMetadata b
arcodeMetadata); | 26 void removeIncorrectCodewords(CFX_PtrArray* codewords, CBC_BarcodeMetadata b
arcodeMetadata); |
27 }; | 27 }; |
28 #endif | 28 #endif |
OLD | NEW |