Chromium Code Reviews| Index: xfa/fxbarcode/common/BC_WhiteRectangleDetector.h |
| diff --git a/xfa/fxbarcode/common/BC_WhiteRectangleDetector.h b/xfa/fxbarcode/common/BC_WhiteRectangleDetector.h |
| index f3ac77a9c0498275581e2e22f415f81a00fa30b1..370fd9786d6dfa56f768d7d9b3197a47016cc8d5 100644 |
| --- a/xfa/fxbarcode/common/BC_WhiteRectangleDetector.h |
| +++ b/xfa/fxbarcode/common/BC_WhiteRectangleDetector.h |
| @@ -14,18 +14,19 @@ class CBC_ResultPoint; |
| class CBC_WhiteRectangleDetector { |
| public: |
| - CBC_WhiteRectangleDetector(CBC_CommonBitMatrix* image); |
| + explicit CBC_WhiteRectangleDetector(CBC_CommonBitMatrix* image); |
| CBC_WhiteRectangleDetector(CBC_CommonBitMatrix* image, |
| int32_t initSize, |
| int32_t x, |
| int32_t y); |
| virtual ~CBC_WhiteRectangleDetector(); |
| + |
| virtual void Init(int32_t& e); |
| CFX_ArrayTemplate<CBC_ResultPoint*>* Detect(int32_t& e); |
| + int32_t Round(FX_FLOAT d); |
|
Lei Zhang
2016/06/15 00:04:30
Not obvious why this needs to be public.
Wei Li
2016/06/15 00:32:39
Done.
|
| private: |
| - int32_t Round(float d); |
| CBC_ResultPoint* GetBlackPointOnSegment(FX_FLOAT aX, |
| FX_FLOAT aY, |
| FX_FLOAT bX, |