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

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

Issue 842043002: Organize barcode codes into modules. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: rebase Created 5 years, 11 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
(Empty)
1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #ifndef _BC_BOUNDINGBOX_H_
8 #define _BC_BOUNDINGBOX_H_
9 class CBC_CommonBitMatrix;
10 class CBC_ResultPoint;
11 class CBC_BoundingBox;
12 class CBC_BoundingBox : public CFX_Object
13 {
14 public:
15 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);
17 virtual ~CBC_BoundingBox();
18 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);
20 void setTopRight(CBC_ResultPoint topRight);
21 void setBottomRight(CBC_ResultPoint bottomRight);
22 FX_INT32 getMinX();
23 FX_INT32 getMaxX();
24 FX_INT32 getMinY();
25 FX_INT32 getMaxY();
26 CBC_ResultPoint* getTopLeft();
27 CBC_ResultPoint* getTopRight();
28 CBC_ResultPoint* getBottomLeft();
29 CBC_ResultPoint* getBottomRight();
30 private:
31 CBC_CommonBitMatrix* m_image;
32 CBC_ResultPoint* m_topLeft;
33 CBC_ResultPoint* m_bottomLeft;
34 CBC_ResultPoint* m_topRight;
35 CBC_ResultPoint* m_bottomRight;
36 FX_INT32 m_minX;
37 FX_INT32 m_maxX;
38 FX_INT32 m_minY;
39 FX_INT32 m_maxY;
40 void init(CBC_CommonBitMatrix* image, CBC_ResultPoint* topLeft, CBC_ResultPo int* bottomLeft, CBC_ResultPoint* topRight, CBC_ResultPoint* bottomRight);
41 void calculateMinMaxValues();
42 };
43 #endif
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/src/include/BC_PDF417BarcodeValue.h ('k') | xfa/src/fxbarcode/src/include/BC_PDF417Codeword.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698