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

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

Issue 1087053002: Merge to XFA: Kill CFX_Object. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 8 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
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 _BC_BOUNDINGBOX_H_ 7 #ifndef _BC_BOUNDINGBOX_H_
8 #define _BC_BOUNDINGBOX_H_ 8 #define _BC_BOUNDINGBOX_H_
9 class CBC_CommonBitMatrix; 9 class CBC_CommonBitMatrix;
10 class CBC_ResultPoint; 10 class CBC_ResultPoint;
11 class CBC_BoundingBox; 11 class CBC_BoundingBox
12 class CBC_BoundingBox : public CFX_Object
13 { 12 {
14 public: 13 public:
15 CBC_BoundingBox(CBC_CommonBitMatrix* image, CBC_ResultPoint* topLeft, CBC_Re sultPoint* bottomLeft, CBC_ResultPoint* topRight, CBC_ResultPoint* bottomRight, FX_INT32 &e); 14 CBC_BoundingBox(CBC_CommonBitMatrix* image, CBC_ResultPoint* topLeft, CBC_Re sultPoint* bottomLeft, CBC_ResultPoint* topRight, CBC_ResultPoint* bottomRight, FX_INT32 &e);
16 CBC_BoundingBox(CBC_BoundingBox* boundingBox); 15 CBC_BoundingBox(CBC_BoundingBox* boundingBox);
17 virtual ~CBC_BoundingBox(); 16 virtual ~CBC_BoundingBox();
18 static CBC_BoundingBox* merge(CBC_BoundingBox* leftBox, CBC_BoundingBox* rig htBox, FX_INT32 &e); 17 static CBC_BoundingBox* merge(CBC_BoundingBox* leftBox, CBC_BoundingBox* rig htBox, FX_INT32 &e);
19 CBC_BoundingBox* addMissingRows(FX_INT32 missingStartRows, FX_INT32 missingE ndRows, FX_BOOL isLeft, FX_INT32 &e); 18 CBC_BoundingBox* addMissingRows(FX_INT32 missingStartRows, FX_INT32 missingE ndRows, FX_BOOL isLeft, FX_INT32 &e);
20 void setTopRight(CBC_ResultPoint topRight); 19 void setTopRight(CBC_ResultPoint topRight);
21 void setBottomRight(CBC_ResultPoint bottomRight); 20 void setBottomRight(CBC_ResultPoint bottomRight);
22 FX_INT32 getMinX(); 21 FX_INT32 getMinX();
(...skipping 11 matching lines...) Expand all
34 CBC_ResultPoint* m_topRight; 33 CBC_ResultPoint* m_topRight;
35 CBC_ResultPoint* m_bottomRight; 34 CBC_ResultPoint* m_bottomRight;
36 FX_INT32 m_minX; 35 FX_INT32 m_minX;
37 FX_INT32 m_maxX; 36 FX_INT32 m_maxX;
38 FX_INT32 m_minY; 37 FX_INT32 m_minY;
39 FX_INT32 m_maxY; 38 FX_INT32 m_maxY;
40 void init(CBC_CommonBitMatrix* image, CBC_ResultPoint* topLeft, CBC_ResultPo int* bottomLeft, CBC_ResultPoint* topRight, CBC_ResultPoint* bottomRight); 39 void init(CBC_CommonBitMatrix* image, CBC_ResultPoint* topLeft, CBC_ResultPo int* bottomLeft, CBC_ResultPoint* topRight, CBC_ResultPoint* bottomRight);
41 void calculateMinMaxValues(); 40 void calculateMinMaxValues();
42 }; 41 };
43 #endif 42 #endif
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeValue.h ('k') | xfa/src/fxbarcode/pdf417/BC_PDF417Codeword.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698